Need a break from Dolphin
All checks were successful
Build Dusk / run-tests (push) Successful in 1m36s
Build Dusk / build-linux (push) Successful in 1m14s
Build Dusk / build-psp (push) Successful in 2m2s
Build Dusk / build-dolphin (push) Successful in 2m49s

This commit is contained in:
2026-02-09 22:18:44 -06:00
parent 073ee8dca9
commit e1f08b07aa
11 changed files with 92 additions and 82 deletions

View File

@@ -12,11 +12,20 @@
#define SPRITEBATCH_SPRITES_MAX 128
#define SPRITEBATCH_VERTEX_COUNT (SPRITEBATCH_SPRITES_MAX * QUAD_VERTEX_COUNT)
#if DOLPHIN
#define SPRITEBATCH_SPRITES_MAX 16
#define SPRITEBATCH_BATCH_COUNT 16
#define SPRITEBATCH_VERTEX_COUNT (SPRITEBATCH_SPRITES_MAX * QUAD_VERTEX_COUNT * SPRITEBATCH_BATCH_COUNT)
#endif
typedef struct {
mesh_t mesh;
int32_t spriteCount;
texture_t *currentTexture;
#if DOLPHIN
uint8_t batchIndex;
#endif
} spritebatch_t;
// Have to define these seperately because of alignment in certain platforms.