forgor those lul

This commit is contained in:
Alug committed 2024-04-02 19:10:51 +02:00
1 parent 94248eaea2
commit 07e50c40a3
1 file changed
+4
+4
View File
@@ -2996,6 +2996,8 @@ EXPORT void HWRAPI(DoScreenWipe)(int wipeStart, int wipeEnd)
1.0f, 1.0f
};
if (!gl_enable_screen_textures) return;
// look for power of two that is large enough for the screen
while (texsize < screen_width || texsize < screen_height)
texsize <<= 1;
@@ -3075,6 +3077,8 @@ EXPORT void HWRAPI(RenderVhsEffect) (fixed_t upbary, fixed_t downbary, UINT8 upd
1.0f, -1.0f, 1.0f
};
if (!gl_enable_screen_textures) return;
// look for power of two that is large enough for the screen
while (texsize < screen_width || texsize < screen_height)
texsize <<= 1;