This commit is contained in:
Alug committed 2024-04-02 22:17:40 +02:00
1 parent fc27ed0443
commit c093aa3c73
1 file changed
+1 -1
+1 -1
View File
@@ -3174,7 +3174,7 @@ EXPORT void HWRAPI(MakeScreenTexture) (int tex)
INT32 texsize = 512;
boolean firstTime = (screenTextures[tex] == 0);
if (!gl_enable_screen_textures || (gl_enable_screen_textures == 1 && tex != (HWD_SCREENTEXTURE_WIPE_START || HWD_SCREENTEXTURE_WIPE_END)))
if (!gl_enable_screen_textures)
return;
// look for power of two that is large enough for the screen