Преглед изворни кода

OpenGL: Avoid error on unsupported lighting LUT

Jannik Vogel пре 10 година
родитељ
комит
7a79fa7a90
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/video_core/renderer_opengl/gl_shader_gen.cpp

+ 1 - 0
src/video_core/renderer_opengl/gl_shader_gen.cpp

@@ -400,6 +400,7 @@ static void WriteLighting(std::string& out, const PicaShaderConfig& config) {
         default:
             LOG_CRITICAL(HW_GPU, "Unknown lighting LUT input %d\n", (int)input);
             UNIMPLEMENTED();
+            index = "0.0";
             break;
         }