mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
Code cleanup: remove unused TEXTUREMODE_TEXRECT
This commit is contained in:
parent
8950fef27b
commit
b56ca89553
|
@ -864,11 +864,6 @@ void gDPTextureRectangle( f32 ulx, f32 uly, f32 lrx, f32 lry, s32 tile, f32 s, f
|
|||
gSP.textureTile[0] = &gDP.tiles[tile];
|
||||
gSP.textureTile[1] = &gDP.tiles[(tile + 1) & 7];
|
||||
|
||||
if (gSP.textureTile[0]->textureMode == TEXTUREMODE_NORMAL)
|
||||
gSP.textureTile[0]->textureMode = TEXTUREMODE_TEXRECT;
|
||||
if (gSP.textureTile[1]->textureMode == TEXTUREMODE_NORMAL)
|
||||
gSP.textureTile[1]->textureMode = TEXTUREMODE_TEXRECT;
|
||||
|
||||
// HACK ALERT!
|
||||
if ((int(s) == 512) && (gDP.colorImage.width < 512))
|
||||
s = 0.0f;
|
||||
|
|
Loading…
Reference in New Issue
Block a user