mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
LLETriangle : force flush triangles if tile is changed.
Fixed wrong textures is C&C intro.
This commit is contained in:
parent
e3f0354565
commit
5b765ba874
|
@ -1302,6 +1302,9 @@ void LLETriangle::draw(bool _shade, bool _texture, bool _zbuffer, s32 * _pData)
|
|||
|
||||
gSP.texture.level = _SHIFTR(_pData[0], 19, 3);
|
||||
const u32 tile = _SHIFTR(_pData[0], 16, 3);
|
||||
if (tile != m_tile)
|
||||
flush(0);
|
||||
m_tile = tile;
|
||||
const int flip = (_pData[0] & 0x800000) >> 23;
|
||||
start(tile);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user