1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Code cleanup: fix "texturePersp enabled" check.

This commit is contained in:
Sergey Lipskiy 2014-10-07 12:30:45 +07:00
parent ab243e215f
commit 2058770099

View File

@ -1250,7 +1250,7 @@ void gSPModifyVertex( u32 _vtx, u32 _where, u32 _val )
vtx0.a = _SHIFTR( _val, 0, 8 ) * 0.0039215689f;
break;
case G_MWO_POINT_ST:
if (gDP.otherMode.texturePersp > 0) {
if (gDP.otherMode.texturePersp != 0) {
vtx0.s = _FIXED2FLOAT( (s16)_SHIFTR( _val, 16, 16 ), 5 );
vtx0.t = _FIXED2FLOAT( (s16)_SHIFTR( _val, 0, 16 ), 5 );
} else {