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

Another fix for texrect lower y. Follow-up 1e915af.

Fixed #2402 Wave race, black lines in texrects [Regression].
This commit is contained in:
Sergey Lipskiy 2021-01-31 21:25:27 +07:00
parent 7d237650ef
commit 88e606de95

View File

@ -850,8 +850,9 @@ void gDPTextureRectangle(f32 ulx, f32 uly, f32 lrx, f32 lry, s32 tile, s16 s, s1
dsdx /= 4.0f; dsdx /= 4.0f;
lrx += 1.0f; lrx += 1.0f;
lry += 1.0f; lry += 1.0f;
} } else if (lry - uly < 1.0f) {
lry = ceil(lry); lry = ceil(lry);
}
gDPTile *textureTileOrg[2]; gDPTile *textureTileOrg[2];
textureTileOrg[0] = gSP.textureTile[0]; textureTileOrg[0] = gSP.textureTile[0];