Support for different platforms. Platform_desktop_sdl.

This commit is contained in:
jussi
2023-11-23 00:00:49 +02:00
parent 85a48cf093
commit 1ab9722875
20 changed files with 775 additions and 733 deletions

View File

@@ -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;