gl_rasterizer: Fix typo in uploading TEV const color uniforms.
This commit is contained in:
parent
82f3e6dc69
commit
37b0aa5af7
|
@ -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
|
||||||
|
|
Reference in New Issue