mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Correct condition for calling Combiner_UpdateAlphaTestInfo().
This commit is contained in:
parent
c282045c27
commit
47d322741d
|
@ -744,7 +744,7 @@ void OGL_UpdateStates()
|
|||
}
|
||||
}
|
||||
|
||||
if ((gDP.changed & CHANGED_ALPHACOMPARE) || (gDP.changed & CHANGED_RENDERMODE))
|
||||
if ((gDP.changed & (CHANGED_ALPHACOMPARE|CHANGED_RENDERMODE|CHANGED_BLENDCOLOR)) != 0)
|
||||
Combiner_UpdateAlphaTestInfo();
|
||||
|
||||
if (gDP.changed & CHANGED_SCISSOR)
|
||||
|
|
1
gDP.cpp
1
gDP.cpp
|
@ -350,6 +350,7 @@ void gDPSetBlendColor( u32 r, u32 g, u32 b, u32 a )
|
|||
gDP.blendColor.b = b * 0.0039215689f;
|
||||
gDP.blendColor.a = a * 0.0039215689f;
|
||||
|
||||
gDP.changed |= CHANGED_BLENDCOLOR;
|
||||
#ifdef DEBUG
|
||||
DebugMsg( DEBUG_HIGH | DEBUG_HANDLED, "gDPSetBlendColor( %i, %i, %i, %i );\n",
|
||||
r, g, b, a );
|
||||
|
|
Loading…
Reference in New Issue
Block a user