1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

gDPFillRectangle: call frameBufferList().fillRDRAM for color buffers in FILL mode.

Fixed Vigilante 8 Menu and In-game issues. #1917
This commit is contained in:
Sergey Lipskiy 2018-10-02 17:05:15 +07:00
parent e91a9ddc31
commit 4f302cc777

View File

@ -726,6 +726,9 @@ void gDPFillRectangle( s32 ulx, s32 uly, s32 lrx, s32 lry )
if (depthBuffer != dbCleared) {
if (gDP.otherMode.cycleType == G_CYC_FILL) {
if (depthBuffer == dbNone) {
frameBufferList().fillRDRAM(ulx, uly, lrx, lry);
}
f32 fillColor[4];
gDPGetFillColor(fillColor);
gDP.rectColor.r = fillColor[0];