Merge branch 'master' into blender2.8
[blender.git] / source / blender / gpu / intern / gpu_basic_shader.c
index f2871dcc9d6804fafe669cc5d87c67224f1f849e..aada3800ede59c9a2bee29a347c8fd7a0330e448 100644 (file)
@@ -559,7 +559,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};