Blender Git Loki
Git Commits -> Revision aab78de
Revision aab78de by Brecht Van Lommel (master) October 25, 2012, 12:54 (GMT) |
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. |
Commit Details:
Full Hash: aab78de27cf070dac1d5b07120e871415d45687c
SVN Revision: 51620
Parent Commit: 0405406
Lines Changed: +303, -10
2 Added Paths:
/source/blender/imbuf/intern/dds/FlipDXT.cpp (+255, -0) (View)
/source/blender/imbuf/intern/dds/FlipDXT.h (+32, -0) (View)
/source/blender/imbuf/intern/dds/FlipDXT.h (+32, -0) (View)