diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2012-01-18 04:03:09 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2012-01-18 04:03:09 +0400 |
commit | b4df2658de8b4cb76664356cf704ced9a37c6c9e (patch) | |
tree | d5f32ed00f1ca1fa2c3f3dbb6cf3adfd5521bac9 /source | |
parent | cd476ee531d3d5eb060de65cb1218ca7f02536b1 (diff) |
remove ARB_texture_gather from bicubic bump map dependencies. It will be needed when/if monochrome images are supported
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/gpu/intern/gpu_codegen.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c index d623697921c..203fd00538f 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -653,7 +653,7 @@ static char *code_generate_vertex(ListBase *nodes) int GPU_bicubic_bump_support(void) { - return GLEW_ARB_texture_gather && GLEW_ARB_texture_query_lod && GLEW_VERSION_3_0; + return GLEW_ARB_texture_query_lod && GLEW_VERSION_3_0; } void GPU_code_generate_glsl_lib(void) @@ -669,7 +669,6 @@ void GPU_code_generate_glsl_lib(void) if(GPU_bicubic_bump_support()){ BLI_dynstr_append(ds, "/* These are needed for high quality bump mapping */\n" "#version 130\n" - "#extension GL_ARB_texture_gather: enable\n" "#extension GL_ARB_texture_query_lod: enable\n" "#define BUMP_BICUBIC\n"); } |