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:
authorAntony Riakiotakis <kalast@gmail.com>2015-08-23 18:20:08 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-08-23 18:20:08 +0300
commit25bb5cb30c856d148c88385b8301e64290c0001c (patch)
tree303224059b682ebd772e8a57e53bf3fca1633df7 /source/blender/gpu
parent8444f7ba2b2bbcc465b4890e2fe4d473181c0ef1 (diff)
Fix T45860, missing extension in GLSL after recent own fix.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index 93966eb28ec..74488e5928e 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -1558,6 +1558,8 @@ static void gpu_shader_standard_extensions(char defines[MAX_EXT_DEFINE_LENGTH],
"#extension GL_ARB_gpu_shader5 : enable\n"
"#extension GL_ARB_explicit_attrib_location : require\n");
}
+ else if (GPU_bicubic_bump_support())
+ strcat(defines, "#extension GL_ARB_texture_query_lod: enable\n");
#else
/* need this extension for high quality bump mapping */
if (GPU_bicubic_bump_support())