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:
Diffstat (limited to 'source/blender/gpu/intern/gpu_simple_shader.c')
-rw-r--r--source/blender/gpu/intern/gpu_simple_shader.c2
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 {