We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a753a85 commit f4b97baCopy full SHA for f4b97ba
src/render_ogl.c
@@ -253,17 +253,8 @@ static void ogl_build_programs()
253
if (_stricmp(g_oglu_version_long, "4.0.0 - Build 10.18.10.4252") == 0 ||
254
_stricmp(g_oglu_version_long, "4.0.0 - Build 10.18.10.5161") == 0)
255
{
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
+ shader_path[0] = 0;
+ g_config.shader[0] = 0;
267
}
268
269
/* detect common upscaling shaders and disable them if no upscaling is required */
0 commit comments