Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2016-08-05 03:27:24 +0300
committerMike Erwin <significant.bit@gmail.com>2016-08-05 03:27:24 +0300
commit58697444bbb9098d8d497ce40ca246d36c8c87a8 (patch)
tree1efcca55ce8128a50f6b624556218239ae8e3a50
parent32757d488f50400e6b7f0276fe25fca2dca97918 (diff)
OpenGL: remove runtime check for EXT_gpu_shader4
It’s checked at startup, so is guaranteed to be true at runtime. Part of T49012
-rw-r--r--source/blender/gpu/intern/gpu_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_shader.c b/source/blender/gpu/intern/gpu_shader.c
index e22aefc15c2..896874a7561 100644
--- a/source/blender/gpu/intern/gpu_shader.c
+++ b/source/blender/gpu/intern/gpu_shader.c
@@ -185,7 +185,7 @@ static void gpu_shader_standard_extensions(char defines[MAX_EXT_DEFINE_LENGTH],
strcat(defines, "#extension GL_ARB_draw_instanced: enable\n");
}
- if (!GLEW_VERSION_3_0 && GLEW_EXT_gpu_shader4) {
+ if (!GLEW_VERSION_3_0) {
strcat(defines, "#extension GL_EXT_gpu_shader4: require\n");
}
}