tuxanci2-engine
Game engine for tuxanci2
Log | Files | Refs | README | LICENSE
commit 771e683f0d8d34b5fd69a3b7d5ddea7ca97c1275
parent 0d1a0c35551fdb0c9143766ec2725a6ac11c7c26
Author: Connor Thomson <connor@gnufault.org>
Date: Tue, 20 Oct 2026 20:23:58 -0700
Fix compile error for the dreamcast platform
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/platforms/dreamcast/dreamcast.c b/platforms/dreamcast/dreamcast.c
@@ -95,8 +95,8 @@ static void render_sprites(void) {
textures[i].texture = texture;
textures[i].pixels = pixels;
- pvr_poly_cxt_t context;
- pvr_poly_hdr_t header;
+ pvr_sprite_cxt_t context;
+ pvr_sprite_hdr_t header;
pvr_sprite_cxt_txr(&context, PVR_LIST_TR_POLY, PVR_TXRFMT_ARGB4444 | PVR_TXRFMT_NONTWIDDLED, texture_width, texture_height, texture, PVR_FILTER_BILINEAR);
pvr_sprite_compile(&header, &context);
pvr_prim(&header, sizeof(header));