style cleanup
[blender-staging.git] / source / blender / gpu / intern / gpu_simple_shader.c
index 88f768d6cf811f301043f773b0a5e1560bed48db..5fb723172ec9e041d0f05f92312b71b9f3970ea5 100644 (file)
@@ -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 {