GPU: Make sure workaround is supported

`context_local_shaders_workaround` is only supported on OpenGL 4.1 or higher.
This commit is contained in:
Germano Cavalcante 2019-09-30 12:11:35 -03:00
parent 7dc70feb63
commit bb0b46f78c
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ void gpu_extensions_init(void)
GG.mip_render_workaround = true;
GG.depth_blitting_workaround = true;
GG.unused_fb_slot_workaround = true;
GG.context_local_shaders_workaround = true;
GG.context_local_shaders_workaround = GLEW_ARB_get_program_binary;
}
/* df/dy calculation factors, those are dependent on driver */