diff --git a/src/gDP.cpp b/src/gDP.cpp index ba934a1b..f7958362 100644 --- a/src/gDP.cpp +++ b/src/gDP.cpp @@ -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 );