diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-19 00:39:56 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-01-30 06:31:36 +0100 |
commit | bbc7844021dc34e26285a495ed86bad088b87279 (patch) | |
tree | b2ddd0e986bd6874673fb8cf99307c49e66c3252 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | Merge pull request #2494 from Kloen/killing-warnings-2-final-mix (diff) | |
download | yuzu-bbc7844021dc34e26285a495ed86bad088b87279.tar yuzu-bbc7844021dc34e26285a495ed86bad088b87279.tar.gz yuzu-bbc7844021dc34e26285a495ed86bad088b87279.tar.bz2 yuzu-bbc7844021dc34e26285a495ed86bad088b87279.tar.lz yuzu-bbc7844021dc34e26285a495ed86bad088b87279.tar.xz yuzu-bbc7844021dc34e26285a495ed86bad088b87279.tar.zst yuzu-bbc7844021dc34e26285a495ed86bad088b87279.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 2d2f4edc1..9dd9ae0fb 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -467,7 +467,7 @@ void RasterizerOpenGL::NotifyPicaRegisterChanged(u32 id) { // Fragment lighting switches case PICA_REG_INDEX(lighting.disable): - case PICA_REG_INDEX(lighting.num_lights): + case PICA_REG_INDEX(lighting.max_light_index): case PICA_REG_INDEX(lighting.config0): case PICA_REG_INDEX(lighting.config1): case PICA_REG_INDEX(lighting.abs_lut_input): |