Skip to content

Commit f4b97ba

Browse files
committed
Revert "#364 allow to use custom shaders with HD 4000 for some games at least"
This reverts commit a753a85.
1 parent a753a85 commit f4b97ba

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

src/render_ogl.c

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -253,17 +253,8 @@ static void ogl_build_programs()
253253
if (_stricmp(g_oglu_version_long, "4.0.0 - Build 10.18.10.4252") == 0 ||
254254
_stricmp(g_oglu_version_long, "4.0.0 - Build 10.18.10.5161") == 0)
255255
{
256-
/* First time compiling the shader works, second time fails */
257-
static BOOL once;
258-
if (!once)
259-
{
260-
once = TRUE;
261-
}
262-
else
263-
{
264-
shader_path[0] = 0;
265-
g_config.shader[0] = 0;
266-
}
256+
shader_path[0] = 0;
257+
g_config.shader[0] = 0;
267258
}
268259

269260
/* detect common upscaling shaders and disable them if no upscaling is required */

0 commit comments

Comments
 (0)