diff options
Diffstat (limited to 'examples/balls/main.c')
| -rw-r--r-- | examples/balls/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/balls/main.c b/examples/balls/main.c index 4f3ab14..89c8063 100644 --- a/examples/balls/main.c +++ b/examples/balls/main.c @@ -200,7 +200,8 @@ int main(int argc, const char* argv[]) { /* Sort a TPage primitive so the sprites will draw pixels from */ /* the correct texture page in VRAM */ tpri = (DR_TPAGE*)nextpri; - setDrawTPage( tpri, 0, 0, tim.prect->x, tim.prect->y ); + setDrawTPage( tpri, 0, 0, + getTPage(0, 0, tim.prect->x, tim.prect->y )); addPrim( ot[db]+(OT_LEN-1), tpri ); nextpri += sizeof(DR_TPAGE); |
