diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-01-24 04:21:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-01-24 04:21:13 +0300 |
commit | 203d2c5029dcc654ad4ffee998cee68aa5cb69f1 (patch) | |
tree | a131852835fafa12e88f655d972a56080c29fe96 /source/blender/gpu/intern/gpu_material.c | |
parent | 317425414203ce34e7d4f30caeb236b26a185ba4 (diff) |
Prevent accidental fall-through in switch
Diffstat (limited to 'source/blender/gpu/intern/gpu_material.c')
-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 7cb2fc0622d..81f04f0ef22 100644 --- a/source/blender/gpu/intern/gpu_material.c +++ b/source/blender/gpu/intern/gpu_material.c @@ -416,7 +416,7 @@ void GPU_material_bind_uniforms( if (viewmat) { mul_m4_m4m4(localtoviewmat, viewmat, obmat); invert_m4_m4(invlocaltoviewmat, localtoviewmat); - GPU_shader_uniform_vector(shader, material->invlocaltoviewmatloc, 16, 1, (float*)invlocaltoviewmat); + GPU_shader_uniform_vector(shader, material->invlocaltoviewmatloc, 16, 1, (float *)invlocaltoviewmat); } } if (material->builtins & GPU_OBCOLOR) { |