mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
Always call frameBufferList().setBufferChanged in gDPFillRectangle.
This commit is contained in:
parent
dd11326115
commit
952769a671
|
@ -755,8 +755,6 @@ void gDPFillRectangle( s32 ulx, s32 uly, s32 lrx, s32 lry )
|
|||
}
|
||||
|
||||
if (depthBuffer != dbCleared) {
|
||||
frameBufferList().setBufferChanged(lry);
|
||||
|
||||
if (gDP.otherMode.cycleType == G_CYC_FILL) {
|
||||
f32 fillColor[4];
|
||||
gDPGetFillColor(fillColor);
|
||||
|
@ -780,6 +778,8 @@ void gDPFillRectangle( s32 ulx, s32 uly, s32 lrx, s32 lry )
|
|||
}
|
||||
}
|
||||
|
||||
frameBufferList().setBufferChanged(lry);
|
||||
|
||||
#ifdef DEBUG
|
||||
DebugMsg( DEBUG_HIGH | DEBUG_HANDLED, "gDPFillRectangle( %i, %i, %i, %i );\n",
|
||||
ulx, uly, lrx, lry );
|
||||
|
|
Loading…
Reference in New Issue
Block a user