diff options
author | Kent Mein <mein@cs.umn.edu> | 2008-09-10 19:07:20 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2008-09-10 19:07:20 +0400 |
commit | bd518b8de6702ab1e276f7513bea735cee9417ef (patch) | |
tree | 505a326dce7222066cc1600c4316e4ca3a6fcb43 /source/blender/imbuf/intern/dds/dds_api.cpp | |
parent | 90272dfdad61a6de223d96ce14a4fe4c75a1347d (diff) |
This is patch:
[#15135] imbuf DDS support: sync to nvidia texture tools revision 602 + fix for ATI2 compressed normal maps
It just updates the dds stuff.
Provided by Amorilia
Kent
Diffstat (limited to 'source/blender/imbuf/intern/dds/dds_api.cpp')
-rw-r--r-- | source/blender/imbuf/intern/dds/dds_api.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/dds/dds_api.cpp b/source/blender/imbuf/intern/dds/dds_api.cpp index b41b940dca7..cf2f6c16d08 100644 --- a/source/blender/imbuf/intern/dds/dds_api.cpp +++ b/source/blender/imbuf/intern/dds/dds_api.cpp @@ -94,6 +94,7 @@ struct ImBuf *imb_load_dds(unsigned char *mem, int size, int flags) } /* convert DDS into ImBuf */ + // TODO use the image RGB or RGBA tag to determine the bits per pixel if (dds.hasAlpha()) bits_per_pixel = 32; else bits_per_pixel = 24; ibuf = IMB_allocImBuf(dds.width(), dds.height(), bits_per_pixel, 0, 0); |