diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-11 05:06:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-11 05:06:01 +0400 |
commit | 359edc27d34c3446b682a4b7b777a841c275327a (patch) | |
tree | 736b8fcdbab077eacf35bfbd08706b64bdb0121a /source/blender/gpu/intern/gpu_simple_shader.c | |
parent | 00014949c8a2e77e29d7ad690e20630dc4ebd1af (diff) |
style cleanup
Diffstat (limited to 'source/blender/gpu/intern/gpu_simple_shader.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_simple_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_simple_shader.c b/source/blender/gpu/intern/gpu_simple_shader.c index 88f768d6cf8..5fb723172ec 100644 --- a/source/blender/gpu/intern/gpu_simple_shader.c +++ b/source/blender/gpu/intern/gpu_simple_shader.c @@ -262,7 +262,7 @@ void GPU_simple_shader_light_set(int light_num, GPULightData *light) glLightf(GL_LIGHT0+light_num, GL_SPOT_EXPONENT, light->spot_exponent); GPU_MATERIAL_STATE.lights_enabled |= light_bit; - if(light->position[3] == 0.0f) + if (light->position[3] == 0.0f) GPU_MATERIAL_STATE.lights_directional |= light_bit; } else { |