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

Correct LLETriangle ctor

This commit is contained in:
Sergey Lipskiy 2020-03-11 13:55:30 +07:00
parent 415cde8c52
commit a3af1a88e2

View File

@ -1254,7 +1254,8 @@ void gDPLLETriangle(u32 _w1, u32 _w2, int _shade, int _texture, int _zbuffer, u3
LLETriangle::LLETriangle()
{
m_textureTileOrg[0] = m_textureTileOrg[1] = nullptr;
m_textureTileOrg[0] = gSP.textureTile[0];
m_textureTileOrg[1] = gSP.textureTile[1];
m_textureScaleOrg[0] = m_textureScaleOrg[1] = 1.0f;
}