Robert Osfield
39b9351153
From Diane Delallée and Sukender, "1. Image.cpp
...
Failure to perform a vertical flip on S3TC-DXTC now simply leaves the original image instead of corrupting it.
Image.cpp was sometimes performing a "normal" (= for uncompressed images) vertical flip on S3TC-DXTC images, producing weird results.
Actually, code was trying a "DXTC vertical flip" and relied on the result to call a "normal vertical flip". But when the "DXTC v-flip" encounters an error, this is is not necessarily because the image is not S3TC (ex: unhandled image dimensions)!
So now the code simply does "if dxtc, then flip_dxtc; else flip_normal;".
Note from Robert Osfield, moved the isDXT function into the dxt_tool file and namespace.
2013-05-28 11:25:13 +00:00
..
2012-02-10 17:20:43 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-12-05 10:13:51 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-09-20 11:18:19 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-29 09:43:12 +00:00
2013-05-22 12:49:46 +00:00
2010-06-01 14:12:03 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2013-05-22 12:49:46 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2010-10-06 14:44:52 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2013-05-16 14:51:07 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2013-05-28 11:25:13 +00:00
2013-05-28 11:25:13 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-09-27 08:34:56 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-12-05 17:15:53 +00:00
2013-01-25 11:54:03 +00:00
2012-09-20 11:18:19 +00:00
2013-05-28 08:38:09 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2010-11-22 11:22:03 +00:00
2012-03-21 17:36:20 +00:00
2011-03-09 17:35:30 +00:00
2012-03-21 17:36:20 +00:00
2013-03-11 17:16:32 +00:00
2012-03-21 17:36:20 +00:00
2013-05-28 11:25:13 +00:00
2013-02-05 18:22:46 +00:00
2012-06-12 10:31:50 +00:00
2012-12-11 17:45:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2013-05-14 16:23:53 +00:00
2012-03-21 17:36:20 +00:00
2010-05-20 13:38:28 +00:00
2010-05-28 08:57:48 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2013-01-25 11:54:03 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-10-02 14:07:12 +00:00
2013-02-13 16:29:03 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2013-03-26 17:03:22 +00:00
2013-05-22 13:16:44 +00:00
2013-01-25 11:54:03 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-09-05 10:19:01 +00:00
2013-05-21 17:41:07 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2010-09-15 09:56:16 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2013-01-25 11:54:03 +00:00
2013-05-22 12:49:46 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2010-05-28 15:47:52 +00:00
2012-03-21 17:36:20 +00:00
2013-05-24 17:16:57 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2009-11-23 09:53:08 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00
2012-03-21 17:36:20 +00:00