diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-09-30 18:11:35 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2019-09-30 18:15:31 +0300 |
commit | bb0b46f78c1e183d8fad99299736316e55c23039 (patch) | |
tree | cf889484278051aefe184dca255da737fc3fa6ea /source/blender/gpu | |
parent | 7dc70feb6305d8c0365b10b47645746f5d35a20c (diff) |
GPU: Make sure workaround is supported
`context_local_shaders_workaround` is only supported on OpenGL 4.1 or higher.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index 7b6759c44bf..c6425854ee4 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -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 */ |