memset screentex

This commit is contained in:
Alug committed 2024-11-27 16:45:19 +01:00
1 parent 1feeb18a49
commit d81e484aa7
1 file changed
+1 -2
+1 -2
View File
@@ -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)