diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-10-25 16:54:16 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-10-25 16:54:16 +0400 |
commit | aab78de27cf070dac1d5b07120e871415d45687c (patch) | |
tree | 2da90c9d16f95b1303bbba239a993a46c3f37684 /source/blender/imbuf/intern/dds/CMakeLists.txt | |
parent | 0405406280027b93d390f91047502fc53da20ebc (diff) |
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.
Diffstat (limited to 'source/blender/imbuf/intern/dds/CMakeLists.txt')
-rw-r--r-- | source/blender/imbuf/intern/dds/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/dds/CMakeLists.txt b/source/blender/imbuf/intern/dds/CMakeLists.txt index e514b7ab6f9..e0b5a6c10d6 100644 --- a/source/blender/imbuf/intern/dds/CMakeLists.txt +++ b/source/blender/imbuf/intern/dds/CMakeLists.txt @@ -40,6 +40,7 @@ set(INC_SYS set(SRC BlockDXT.cpp + FlipDXT.cpp ColorBlock.cpp DirectDrawSurface.cpp Image.cpp |