summaryrefslogtreecommitdiff
path: root/examples/triangle.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/triangle.c')
-rw-r--r--examples/triangle.c4
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;