summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-10-02 04:12:44 +0200
committerbunnei <bunneidev@gmail.com>2015-10-22 03:51:24 +0200
commit37b0aa5af74dc01dadff5b173523580d03db2f02 (patch)
treea3ba804a2e55b6a9d83da71f416ab69e7f01614b /src
parentgl_shader_util: Fix precision bug with alpha testing. (diff)
downloadyuzu-37b0aa5af74dc01dadff5b173523580d03db2f02.tar
yuzu-37b0aa5af74dc01dadff5b173523580d03db2f02.tar.gz
yuzu-37b0aa5af74dc01dadff5b173523580d03db2f02.tar.bz2
yuzu-37b0aa5af74dc01dadff5b173523580d03db2f02.tar.lz
yuzu-37b0aa5af74dc01dadff5b173523580d03db2f02.tar.xz
yuzu-37b0aa5af74dc01dadff5b173523580d03db2f02.tar.zst
yuzu-37b0aa5af74dc01dadff5b173523580d03db2f02.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 38d184ae2..a69e09188 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -324,19 +324,19 @@ void RasterizerOpenGL::NotifyPicaRegisterChanged(u32 id) {
SyncTevConstColor(0, regs.tev_stage0);
break;
case PICA_REG_INDEX(tev_stage1.const_r):
- SyncTevConstColor(1, regs.tev_stage0);
+ SyncTevConstColor(1, regs.tev_stage1);
break;
case PICA_REG_INDEX(tev_stage2.const_r):
- SyncTevConstColor(2, regs.tev_stage0);
+ SyncTevConstColor(2, regs.tev_stage2);
break;
case PICA_REG_INDEX(tev_stage3.const_r):
- SyncTevConstColor(3, regs.tev_stage0);
+ SyncTevConstColor(3, regs.tev_stage3);
break;
case PICA_REG_INDEX(tev_stage4.const_r):
- SyncTevConstColor(4, regs.tev_stage0);
+ SyncTevConstColor(4, regs.tev_stage4);
break;
case PICA_REG_INDEX(tev_stage5.const_r):
- SyncTevConstColor(5, regs.tev_stage0);
+ SyncTevConstColor(5, regs.tev_stage5);
break;
// TEV combiner buffer color