diff options
| author | Ray <[email protected]> | 2021-11-01 11:26:13 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-11-01 11:26:13 +0100 |
| commit | 8abba960c7a5ba492bd47b915e781db734356aeb (patch) | |
| tree | 6e3fc078d2a1e7f651726c541a4f1e8a1943d7d4 /src/rglfw.c | |
| parent | 864903242862d9b738ed93ccb323d19eb0552e0a (diff) | |
| download | raylib-8abba960c7a5ba492bd47b915e781db734356aeb.tar.gz raylib-8abba960c7a5ba492bd47b915e781db734356aeb.zip | |
Review comments
Diffstat (limited to 'src/rglfw.c')
| -rw-r--r-- | src/rglfw.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/rglfw.c b/src/rglfw.c index b6a45c09..a49d2af1 100644 --- a/src/rglfw.c +++ b/src/rglfw.c @@ -27,7 +27,15 @@ **********************************************************************************************/ //#define _GLFW_BUILD_DLL // To build shared version -//http://www.glfw.org/docs/latest/compile.html#compile_manual +// Ref: http://www.glfw.org/docs/latest/compile.html#compile_manual + +// Platform options: +// _GLFW_WIN32 to use the Win32 API +// _GLFW_X11 to use the X Window System +// _GLFW_WAYLAND to use the Wayland API (experimental and incomplete) +// _GLFW_COCOA to use the Cocoa frameworks +// _GLFW_OSMESA to use the OSMesa API (headless and non-interactive) +// _GLFW_MIR experimental, not supported at this moment #if defined(_WIN32) #define _GLFW_WIN32 @@ -49,8 +57,7 @@ #define _WIN32_WINNT_WINXP 0x0501 #endif -// NOTE: _GLFW_MIR experimental platform not supported at this moment - +// Common modules to all platforms #include "external/glfw/src/context.c" #include "external/glfw/src/init.c" #include "external/glfw/src/input.c" |
