mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fix min_lod and lod_frac read in RDP_SetPrimColor.
This commit is contained in:
parent
53d5b994f5
commit
1ac9e4e696
4
RDP.cpp
4
RDP.cpp
|
@ -55,8 +55,8 @@ void RDP_SetEnvColor( u32 w0, u32 w1 )
|
|||
|
||||
void RDP_SetPrimColor( u32 w0, u32 w1 )
|
||||
{
|
||||
gDPSetPrimColor( _SHIFTL( w0, 8, 8 ), // m
|
||||
_SHIFTL( w0, 0, 8 ), // l
|
||||
gDPSetPrimColor( _SHIFTR( w0, 8, 8 ), // m
|
||||
_SHIFTR( w0, 0, 8 ), // l
|
||||
_SHIFTR( w1, 24, 8 ), // r
|
||||
_SHIFTR( w1, 16, 8 ), // g
|
||||
_SHIFTR( w1, 8, 8 ), // b
|
||||
|
|
Loading…
Reference in New Issue
Block a user