mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Correct UBlendMode2Cycle::update()
Fixed World Driver Championship shadows are.....grey! #1596
This commit is contained in:
parent
ee3f4a6962
commit
d404dbfceb
|
@ -303,25 +303,21 @@ public:
|
|||
|
||||
void update(bool _force) override
|
||||
{
|
||||
int forceBlend1 = 1;
|
||||
|
||||
uBlendMux1.set(gDP.otherMode.c1_m1a,
|
||||
gDP.otherMode.c1_m1b,
|
||||
gDP.otherMode.c1_m2a,
|
||||
gDP.otherMode.c1_m2b,
|
||||
_force);
|
||||
|
||||
int forceBlend2 = gDP.otherMode.forceBlender;
|
||||
|
||||
if (forceBlend2 != 0) {
|
||||
uBlendMux2.set(gDP.otherMode.c2_m1a,
|
||||
gDP.otherMode.c2_m1b,
|
||||
gDP.otherMode.c2_m2a,
|
||||
gDP.otherMode.c2_m2b,
|
||||
_force);
|
||||
}
|
||||
uBlendMux2.set(gDP.otherMode.c2_m1a,
|
||||
gDP.otherMode.c2_m1b,
|
||||
gDP.otherMode.c2_m2a,
|
||||
gDP.otherMode.c2_m2b,
|
||||
_force);
|
||||
|
||||
const int forceBlend1 = 1;
|
||||
uForceBlendCycle1.set(forceBlend1, _force);
|
||||
const int forceBlend2 = gDP.otherMode.forceBlender;
|
||||
uForceBlendCycle2.set(forceBlend2, _force);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user