summaryrefslogtreecommitdiff
path: root/examples/rects.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rects.c')
-rw-r--r--examples/rects.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rects.c b/examples/rects.c
index 48cf5ba..5b12e40 100644
--- a/examples/rects.c
+++ b/examples/rects.c
@@ -1,8 +1,8 @@
#include <assert.h>
#include "../sponge.h"
-
-void init() {}
+#define SPONGE_EXAMPLE_IMPLEMENTATION
+#include "../example.h"
void draw_frame(sponge_Texture c) {
assert(c.width > 140 + 20);