We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbc720c commit efc148fCopy full SHA for efc148f
Generals/Code/Libraries/Source/WWVegas/WW3D2/texturethumbnail.cpp
@@ -92,7 +92,7 @@ ThumbnailClass::ThumbnailClass(const StringClass& filename)
92
// Destination size will be the next power of two square from the larger width and height...
93
Width=targa.Header.Width>>reduction_factor;
94
Height=targa.Header.Height>>reduction_factor;
95
- unsigned depth;
+ unsigned depth=1;
96
TextureLoader::Validate_Texture_Size(Width,Height,depth);
97
unsigned src_width=targa.Header.Width;
98
unsigned src_height=targa.Header.Height;
0 commit comments