yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

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
1 changed files with 5 additions and 5 deletions

View File

@ -324,19 +324,19 @@ void RasterizerOpenGL::NotifyPicaRegisterChanged(u32 id) {
SyncTevConstColor(0, regs.tev_stage0); SyncTevConstColor(0, regs.tev_stage0);
break; break;
case PICA_REG_INDEX(tev_stage1.const_r): case PICA_REG_INDEX(tev_stage1.const_r):
SyncTevConstColor(1, regs.tev_stage0); SyncTevConstColor(1, regs.tev_stage1);
break; break;
case PICA_REG_INDEX(tev_stage2.const_r): case PICA_REG_INDEX(tev_stage2.const_r):
SyncTevConstColor(2, regs.tev_stage0); SyncTevConstColor(2, regs.tev_stage2);
break; break;
case PICA_REG_INDEX(tev_stage3.const_r): case PICA_REG_INDEX(tev_stage3.const_r):
SyncTevConstColor(3, regs.tev_stage0); SyncTevConstColor(3, regs.tev_stage3);
break; break;
case PICA_REG_INDEX(tev_stage4.const_r): case PICA_REG_INDEX(tev_stage4.const_r):
SyncTevConstColor(4, regs.tev_stage0); SyncTevConstColor(4, regs.tev_stage4);
break; break;
case PICA_REG_INDEX(tev_stage5.const_r): case PICA_REG_INDEX(tev_stage5.const_r):
SyncTevConstColor(5, regs.tev_stage0); SyncTevConstColor(5, regs.tev_stage5);
break; break;
// TEV combiner buffer color // TEV combiner buffer color