diff options
| author | kkard2 <[email protected]> | 2025-09-14 12:14:31 +0200 |
|---|---|---|
| committer | kkard2 <[email protected]> | 2025-09-14 12:14:31 +0200 |
| commit | d30d4c2c3832c1e4df1d4fb266b04ca4dfdd828b (patch) | |
| tree | e51489686eef2edf27a7c7e6268d6418478ddec3 /examples/triangle.c | |
| parent | a554485534c83c2ecfa98f8c651ad957358a4034 (diff) | |
make examples more future proof (like if i want input and stuff)
Diffstat (limited to 'examples/triangle.c')
| -rw-r--r-- | examples/triangle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/triangle.c b/examples/triangle.c index a3559e9..9e20b90 100644 --- a/examples/triangle.c +++ b/examples/triangle.c @@ -1,10 +1,10 @@ #include "../sponge.h" +#define SPONGE_EXAMPLE_IMPLEMENTATION +#include "../example.h" #define SPEED (4) static int32_t offset = 0; -void init() {} - void draw_frame(sponge_Texture c) { sponge_clear(c, sponge_color32_make(0xFF000000)); offset += SPEED; |
