diff options
Diffstat (limited to 'source/blender/gpu/intern/gpu_basic_shader.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_basic_shader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_basic_shader.c b/source/blender/gpu/intern/gpu_basic_shader.c index b6fe40a13ee..088dac6f6cc 100644 --- a/source/blender/gpu/intern/gpu_basic_shader.c +++ b/source/blender/gpu/intern/gpu_basic_shader.c @@ -552,7 +552,8 @@ void GPU_basic_shader_light_set(int light_num, GPULightData *light) GPU_MATERIAL_STATE.lights_directional |= light_bit; } else { - if (USE_GLSL) { + /* TODO(sergey): Needs revisit. */ + if (USE_GLSL || true) { /* glsl shader needs these zero to skip them */ const float zero[4] = {0.0f, 0.0f, 0.0f, 0.0f}; |