memset screentex
This commit is contained in:
1 parent
1feeb18a49
commit
d81e484aa7
1 file changed
+1
-2
@@ -3185,8 +3185,7 @@ void GL_PostImgRedraw(float points[SCREENVERTS][SCREENVERTS][2])
|
||||
void GL_FlushScreenTextures(void)
|
||||
{
|
||||
pglDeleteTextures(NUMSCREENTEXTURES, screenTextures);
|
||||
for (int i = 0; i < NUMSCREENTEXTURES; i++)
|
||||
screenTextures[i] = 0;
|
||||
memset(screenTextures, 0 , sizeof(screenTextures));
|
||||
}
|
||||
|
||||
void GL_DrawScreenTexture(int tex, FSurfaceInfo *surf, FBITFIELD polyflags)
|
||||
|
||||
Reference in new issue
Block a user