Commit Graph

7 Commits

Author SHA1 Message Date
b098609186 Fix various compiler warnings. 2015-10-10 17:35:30 +02:00
1174c7d662 fix for missing NULL pointer checks and incorrect array free 2013-03-17 10:15:06 +00:00
438b19e94a Fix #33629: DDS DXT5 with alpha not loaded correctly, Y flipping code was wrong. 2012-12-20 15:45:42 +00:00
2bb174cfa4 style cleanup: indentation 2012-11-09 09:33:28 +00:00
c8975c4375 style cleanup 2012-10-30 12:18:45 +00:00
15362e1c02 Fix for strict compiler setup 2012-10-25 13:12:37 +00:00
aab78de27c Better fix for #32837: DDS compressed textures now no longer need to be flipped
when saving, rather we flip the compressed texture during load. The code used
here comes from the chromium O3D project:
http://src.chromium.org/chrome/trunk/o3d/core/cross/bitmap_dds.cc

Also made it only load compressed for power-of-two resolution images, it doesn't
seem to work for other resolutions, just falls back to non-compressed then.
2012-10-25 12:54:16 +00:00