DS GX: Fix polygon attrs being overwritten
Vicki Pfau vi@endrift.com
Sun, 05 Mar 2017 12:27:38 -0800
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/ds/gx.c
→
src/ds/gx.c
@@ -894,6 +894,7 @@ int16_t x = (xyz << 6) & 0xFFC0;
int16_t y = (xyz >> 4) & 0xFFC0; int16_t z = (xyz >> 14) & 0xFFC0; _emitVertex(gx, gx->currentVertex.x + (x >> 6), gx->currentVertex.y + (y >> 6), gx->currentVertex.z + (z >> 6)); + break; } case DS_GX_CMD_POLYGON_ATTR: gx->nextPoly.polyParams = entry.params[0];