Finally fixed mouse input on GLFW Platforms

This commit is contained in:
2021-08-31 16:27:22 -07:00
parent 46752c6d22
commit 16873a1e1b
2 changed files with 7 additions and 2 deletions

View File

@ -13,6 +13,9 @@
#define WINDOW_WIDTH_DEFAULT 1280
#define WINDOW_HEIGHT_DEFAULT WINDOW_WIDTH_DEFAULT/16*9
#define GLFW_PLATFORM_INPUT_MOUSE_X (inputsource_t)512
#define GLFW_PLATFORM_INPUT_MOUSE_Y (inputsource_t)513
/** The current running game state. */
extern game_t *GAME_STATE;