This commit is contained in:
Preston Smith
2016-07-23 06:15:03 -05:00
parent 8f69de51ca
commit e0a1ab9027

View File

@ -181,10 +181,10 @@ static void TransformTexCoordRegular(const TexMtxInfo& texinfo, int coordNum, bo
} }
// TODO write comment // TODO write comment
if(dst->z == 0.0f) if (dst->z == 0.0f)
{ {
if(mat[8] != 0.0f || (xfmem.dualTexTrans.enabled && postMat[8] != 0.0f) || if (mat[8] != 0.0f || (xfmem.dualTexTrans.enabled && postMat[8] != 0.0f) || mat[9] != 0.0f ||
mat[9] != 0.0f || (xfmem.dualTexTrans.enabled && postMat[9] != 0.0f)) (xfmem.dualTexTrans.enabled && postMat[9] != 0.0f))
{ {
// TODO test this case more // TODO test this case more
dst->x = 0.0f; dst->x = 0.0f;