mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Ignore degenerate texrects.
Fixed issues in Daikatana and Rat Attack.
This commit is contained in:
parent
7e0efdb18b
commit
40d99fd9ca
2
gDP.cpp
2
gDP.cpp
|
@ -965,6 +965,8 @@ void gDPSetKeyGB(u32 cG, u32 sG, u32 wG, u32 cB, u32 sB, u32 wB )
|
|||
|
||||
void gDPTextureRectangle( f32 ulx, f32 uly, f32 lrx, f32 lry, s32 tile, f32 s, f32 t, f32 dsdx, f32 dtdy )
|
||||
{
|
||||
if (ulx >= lrx)
|
||||
return;
|
||||
if (gDP.otherMode.cycleType == G_CYC_COPY) {
|
||||
dsdx = 1.0f;
|
||||
lrx += 1.0f;
|
||||
|
|
Loading…
Reference in New Issue
Block a user