diff options
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_material.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c index 62c3f848284..db6117d854b 100644 --- a/source/blender/gpu/intern/gpu_material.c +++ b/source/blender/gpu/intern/gpu_material.c @@ -928,7 +928,7 @@ static void do_material_tex(GPUShadeInput *shi) else if(mtex->texco==TEXCO_OBJECT) texco= texco_object; else if(mtex->texco==TEXCO_NORM) - texco= texco_norm; + texco= orn; else if(mtex->texco==TEXCO_TANGENT) texco= texco_object; else if(mtex->texco==TEXCO_GLOB) |