remove redundant check

This commit is contained in:
Alug committed 2024-09-09 22:57:12 +02:00
1 parent 7a91b19962
commit 926287eb97
1 file changed
+1 -5
+1 -5
View File
@@ -236,12 +236,8 @@ static void CV_grpalettedepth_OnChange(void)
static void CV_grframebuffer_OnChange(void)
{
ONLY_IF_GL_LOADED
if (cv_grscreentextures.value != 2)
{ // screen FBO needs screen textures
#ifdef USE_FBO_OGL
if (cv_grscreentextures.value != 2) // screen FBO needs screen textures
CV_Set(&cv_grframebuffer, "Off");
#endif
}
HWD.pfnSetSpecialState(HWD_SET_FRAMEBUFFER, cv_grframebuffer.value);
I_DownSample();
RefreshOGLSDLSurface();