ソースを参照

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

OpenGL: Avoid error on unsupported lighting LUT
bunnei 10 年 前
コミット
87893e6d68
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:
         default:
             LOG_CRITICAL(HW_GPU, "Unknown lighting LUT input %d\n", (int)input);
             LOG_CRITICAL(HW_GPU, "Unknown lighting LUT input %d\n", (int)input);
             UNIMPLEMENTED();
             UNIMPLEMENTED();
+            index = "0.0";
             break;
             break;
         }
         }