mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-29 14:38:30 +00:00
Added desktop platform check...
...to define proper values
This commit is contained in:
13
src/rglfw.c
13
src/rglfw.c
@@ -26,6 +26,19 @@
|
||||
*
|
||||
**********************************************************************************************/
|
||||
|
||||
#ifdef _WIN32
|
||||
#define _GLFW_WIN32
|
||||
#endif
|
||||
#ifdef __linux__
|
||||
#define _GLFW_X11
|
||||
#endif
|
||||
#ifdef __APPLE__
|
||||
#define _GLFW_COCOA
|
||||
#define _GLFW_USE_CHDIR
|
||||
#define _GLFW_USE_MENUBAR
|
||||
#define _GLFW_USE_RETINA
|
||||
#endif
|
||||
|
||||
#include "external/glfw/src/context.c"
|
||||
#include "external/glfw/src/init.c"
|
||||
#include "external/glfw/src/input.c"
|
||||
|
Reference in New Issue
Block a user