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

correct "remove hack_texrect_shade_alpha"

fix regression  #2369
This commit is contained in:
purplemarshmallow 2020-10-30 09:43:56 +01:00 committed by Sergey Lipskiy
parent c1b4d447a7
commit 909cf172b9

View File

@ -863,6 +863,8 @@ void gDPTextureRectangle(f32 ulx, f32 uly, f32 lrx, f32 lry, s32 tile, s16 s, s1
if (s == 0x4000 && (gDP.colorImage.width + gSP.textureTile[0]->uls < 512))
s = 0;
gDP.rectColor = gDPInfo::Color();
GraphicsDrawer & drawer = dwnd().getDrawer();
GraphicsDrawer::TexturedRectParams params(ulx, uly, lrx, lry, dsdx, dtdy, s, t,
flip, false, true, frameBufferList().getCurrent());