summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-08-31 01:22:04 +0200
committerGitHub <noreply@github.com>2016-08-31 01:22:04 +0200
commit87893e6d68079ff4fa277688adb508d041944385 (patch)
tree66409921973ced922a27bda8ec47f4134fb94965
parentMerge pull request #2023 from yuriks/autobase-bcfnt (diff)
parentOpenGL: Avoid error on unsupported lighting LUT (diff)
downloadyuzu-87893e6d68079ff4fa277688adb508d041944385.tar
yuzu-87893e6d68079ff4fa277688adb508d041944385.tar.gz
yuzu-87893e6d68079ff4fa277688adb508d041944385.tar.bz2
yuzu-87893e6d68079ff4fa277688adb508d041944385.tar.lz
yuzu-87893e6d68079ff4fa277688adb508d041944385.tar.xz
yuzu-87893e6d68079ff4fa277688adb508d041944385.tar.zst
yuzu-87893e6d68079ff4fa277688adb508d041944385.zip
-rw-r--r--src/video_core/renderer_opengl/gl_shader_gen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_gen.cpp b/src/video_core/renderer_opengl/gl_shader_gen.cpp
index 36513dedc..3de372f67 100644
--- a/src/video_core/renderer_opengl/gl_shader_gen.cpp
+++ b/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;
}