2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

gl_rasterizer: Fix typo in uploading TEV const color uniforms.

This commit is contained in:
bunnei 2015-10-01 22:12:44 -04:00
parent 82f3e6dc69
commit 37b0aa5af7

View file

@ -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