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.
2 parents bb7fb68 + 266a09b commit 373f839Copy full SHA for 373f839
src/d3d/d3ddevice.cpp
@@ -1129,7 +1129,7 @@ recreateVidmemRasters(void)
1129
switch(raster->type){
1130
case Raster::CAMERATEXTURE: {
1131
int32 levels = Raster::calculateNumLevels(raster->width, raster->height);
1132
- IDirect3DTexture9 *tex;
+ IDirect3DTexture9 *tex = nil;
1133
d3ddevice->CreateTexture(raster->width, raster->height,
1134
raster->format & Raster::MIPMAP ? levels : 1,
1135
D3DUSAGE_RENDERTARGET,
0 commit comments