summaryrefslogtreecommitdiff
path: root/src/example/example.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-02-26 22:52:19 +0800
committerchai <chaifix@163.com>2020-02-26 22:52:19 +0800
commit372d77e436d21312ef1a0df622964751716963a3 (patch)
tree1a71865fea6fb9f2f532422c4b83959fff17ea76 /src/example/example.h
parent27687536844ed3b045bba1abd1aae8bb3692f6cb (diff)
*misc
Diffstat (limited to 'src/example/example.h')
-rw-r--r--src/example/example.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/example/example.h b/src/example/example.h
index bcf9ebc..8e2874d 100644
--- a/src/example/example.h
+++ b/src/example/example.h
@@ -3,7 +3,8 @@
#include "../ssr.h"
#include "../util/type.h"
-//#include "SDL2/SDL.h"
+#include "../extend/camera.h"
+#include "../gizmo/gizmo.h"
#define EXAMPLE(i)\
extern void onload_##i(void*);\
@@ -11,7 +12,7 @@ extern void onevent_##i(void*);\
extern void onupdate_##i(void*);\
extern void ondraw_##i(void*);
-#define EXAMPLECUR texture
+#define CURRENT_EXAMPLE texture
/*All examples*/