mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Increase only y coordinate of rect in COPY or FILL mode.
This commit is contained in:
parent
024c48218a
commit
143a68bc07
|
@ -740,10 +740,7 @@ void gDPFillRDRAM(u32 address, s32 ulx, s32 uly, s32 lrx, s32 lry, u32 width, u3
|
|||
void gDPFillRectangle( s32 ulx, s32 uly, s32 lrx, s32 lry )
|
||||
{
|
||||
OGLRender & render = video().getRender();
|
||||
if (gDP.otherMode.cycleType == G_CYC_FILL) {
|
||||
++lrx;
|
||||
++lry;
|
||||
} else if (lry == uly)
|
||||
if (gDP.otherMode.cycleType == G_CYC_FILL || lry == uly)
|
||||
++lry;
|
||||
|
||||
if (gDP.depthImageAddress == gDP.colorImage.address) {
|
||||
|
@ -826,7 +823,6 @@ void gDPTextureRectangle( f32 ulx, f32 uly, f32 lrx, f32 lry, s32 tile, f32 s, f
|
|||
{
|
||||
if (gDP.otherMode.cycleType == G_CYC_COPY) {
|
||||
dsdx = 1.0f;
|
||||
lrx += 1.0f;
|
||||
lry += 1.0f;
|
||||
}
|
||||
lry = max(lry, uly + 1.0f);
|
||||
|
|
Loading…
Reference in New Issue
Block a user