diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-04 22:02:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-04 22:02:48 +0100 |
commit | 97e06b0a0daccd3347ae1bcaf294093b5af32e85 (patch) | |
tree | 59e1997c90558f58f7368d6974c355e1f20d8f32 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | Merge pull request #2414 from yuriks/texture-decode (diff) | |
parent | VideoCore: Make PrimitiveAssembler const-correct (diff) | |
download | yuzu-97e06b0a0daccd3347ae1bcaf294093b5af32e85.tar yuzu-97e06b0a0daccd3347ae1bcaf294093b5af32e85.tar.gz yuzu-97e06b0a0daccd3347ae1bcaf294093b5af32e85.tar.bz2 yuzu-97e06b0a0daccd3347ae1bcaf294093b5af32e85.tar.lz yuzu-97e06b0a0daccd3347ae1bcaf294093b5af32e85.tar.xz yuzu-97e06b0a0daccd3347ae1bcaf294093b5af32e85.tar.zst yuzu-97e06b0a0daccd3347ae1bcaf294093b5af32e85.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 f3674e965..071e4ace0 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): |