summaryrefslogtreecommitdiff
path: root/include/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/state.h')
-rw-r--r--include/state.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/state.h b/include/state.h
index a777f40..4b2fe2c 100644
--- a/include/state.h
+++ b/include/state.h
@@ -13,7 +13,9 @@ typedef struct {
Font defaultFont;
Material defaultMaterial;
int *RLGLcurrentShaderLocs;
- /* Raylib GLFW input callback events. */
+ /* Events. */
+ /* GLFW events. */
+#ifdef PLATFORM_DESKTOP
/* Window events. */
GLFWwindowsizefun raylibWindowSizeCallback;
GLFWwindowmaximizefun raylibWindowMaximizeCallback;
@@ -28,6 +30,9 @@ typedef struct {
GLFWscrollfun raylibMouseScrollCallback;
GLFWcursorenterfun raylibCursorEnterCallback;
GLFWjoystickfun raylibJoystickCallback;
+// #elif PLATFORM_DESKTOP_SDL
+
+#endif
} State;
extern State *state;