mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Remove gamma correction code from gDPFillRectangle.
Forgot to remove it when gamma correction was moved to post-processor. Fixed green background in Superman.
This commit is contained in:
parent
c34e00b9df
commit
170a072deb
|
@ -765,11 +765,6 @@ void gDPFillRectangle( s32 ulx, s32 uly, s32 lrx, s32 lry )
|
||||||
if (gDP.otherMode.cycleType == G_CYC_FILL) {
|
if (gDP.otherMode.cycleType == G_CYC_FILL) {
|
||||||
if ((ulx == 0) && (uly == 0) && (lrx == gDP.scissor.lrx) && (lry == gDP.scissor.lry)) {
|
if ((ulx == 0) && (uly == 0) && (lrx == gDP.scissor.lrx) && (lry == gDP.scissor.lry)) {
|
||||||
gDPFillRDRAM(gDP.colorImage.address, ulx, uly, lrx, lry, gDP.colorImage.width, gDP.colorImage.size, gDP.fillColor.color);
|
gDPFillRDRAM(gDP.colorImage.address, ulx, uly, lrx, lry, gDP.colorImage.width, gDP.colorImage.size, gDP.fillColor.color);
|
||||||
if ((*REG.VI_STATUS & 8) != 0) {
|
|
||||||
fillColor[0] = sqrtf(fillColor[0]);
|
|
||||||
fillColor[1] = sqrtf(fillColor[1]);
|
|
||||||
fillColor[2] = sqrtf(fillColor[2]);
|
|
||||||
}
|
|
||||||
render.clearColorBuffer(fillColor);
|
render.clearColorBuffer(fillColor);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user