diff options
| author | jussi | 2023-11-23 00:00:49 +0200 |
|---|---|---|
| committer | jussi | 2023-11-23 00:00:49 +0200 |
| commit | 1ab9722875c543e8fd1b6600fd16e51412181641 (patch) | |
| tree | 412a3b0d139daa8832217e9e4240bd1cd299d4c5 /include/state.h | |
| parent | 85a48cf09302a2a14aeeb2d6cf3b8fcc1607e222 (diff) | |
| download | reilua-enhanced-1ab9722875c543e8fd1b6600fd16e51412181641.tar.gz reilua-enhanced-1ab9722875c543e8fd1b6600fd16e51412181641.tar.bz2 reilua-enhanced-1ab9722875c543e8fd1b6600fd16e51412181641.zip | |
Support for different platforms. Platform_desktop_sdl.
Diffstat (limited to 'include/state.h')
| -rw-r--r-- | include/state.h | 7 |
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; |
