aboutsummaryrefslogtreecommitdiff
path: root/src/sdl/draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdl/draw.h')
-rw-r--r--src/sdl/draw.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sdl/draw.h b/src/sdl/draw.h
index 7a61e7d..873287a 100644
--- a/src/sdl/draw.h
+++ b/src/sdl/draw.h
@@ -6,9 +6,12 @@
#include "../libsok/sok.h"
#include "../text/levels.h"
+// arbitrary
+#define MAX_SPRITES 32
+
typedef struct {
SDL_Renderer * const renderer;
- SDL_Texture * const sprites;
+ SDL_Texture *sprites[MAX_SPRITES];
const sok_ctx_t * const ctx;
const size_t * const level_num;