mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-20 16:08:44 +00:00
Fixed: Warning when DDS_HEADER is not initialized
--HG-- branch : develop
This commit is contained in:
parent
5ccf0df1ab
commit
b93414cd27
1 changed files with 2 additions and 0 deletions
|
@ -179,6 +179,8 @@ void CS3TCCompressor::compress(const NLMISC::CBitmap &bmpSrc, bool optMipMap, u
|
|||
DDS_HEADER dest;
|
||||
NLMISC::CBitmap picSrc= bmpSrc;
|
||||
|
||||
// initialize DDS_HEADER
|
||||
memset(&dest, 0, sizeof(dest));
|
||||
|
||||
// For all mipmaps, compress.
|
||||
if(optMipMap)
|
||||
|
|
Loading…
Reference in a new issue