mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Fix problem with texture coordinates when texturePersp is off.
This commit is contained in:
parent
7bd0b2e38a
commit
1c0519c9ee
|
@ -705,6 +705,10 @@ void OGLRender::drawLLETriangle(u32 _numVtx)
|
|||
vtx.y = vtx.y * (-2.0f * scaleY) + 1.0f;
|
||||
vtx.y *= vtx.w;
|
||||
vtx.z *= vtx.w;
|
||||
if (gDP.otherMode.texturePersp == 0) {
|
||||
vtx.s *= 2.0f;
|
||||
vtx.t *= 2.0f;
|
||||
}
|
||||
}
|
||||
|
||||
glDrawArrays(GL_TRIANGLE_STRIP, 0, _numVtx);
|
||||
|
|
Loading…
Reference in New Issue
Block a user