From 1ab9722875c543e8fd1b6600fd16e51412181641 Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 23 Nov 2023 00:00:49 +0200 Subject: Support for different platforms. Platform_desktop_sdl. --- include/state.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/state.h') 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; -- cgit v1.2.3