Skip to content

Commit

Permalink
Merge pull request #292 from ogamespec/master
Browse files Browse the repository at this point in the history
fixed hack
  • Loading branch information
ogamespec authored Aug 15, 2023
2 parents 09dda46 + bc70485 commit f664470
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/xf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,11 @@ namespace GX
break;
}

// Hmmm :/
if (mx == nullptr) {
mx = &xf.mvTexMtx[v->matIdx0.Tex0MatIdx * 4];
}

// st or stq ?
if (xf.tex[n].projection)
{
Expand Down

0 comments on commit f664470

Please sign in to comment.