Procházet zdrojové kódy

Merge pull request #2034 from JayFoxRox/avoid-glsl-error

OpenGL: Avoid error on unsupported lighting LUT
bunnei před 10 roky
rodič
revize
87893e6d68

+ 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;
         }