summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
diff options
context:
space:
mode:
authorRay <[email protected]>2018-05-04 23:03:56 +0200
committerRay <[email protected]>2018-05-04 23:03:56 +0200
commitf14492432d590cef90cb747a2063f6998a61f108 (patch)
treee555b22a2ee35af2ba41d9d14814fe85bbaefdf0 /src/core.c
parentec33e7d705e301eb2b74a841e823907295caa37a (diff)
downloadraylib-f14492432d590cef90cb747a2063f6998a61f108.tar.gz
raylib-f14492432d590cef90cb747a2063f6998a61f108.zip
Avoid exposing native GLFW3 functionality
Try to avoid types conflict with Font
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/core.c b/src/core.c
index 5587f82b..ece76138 100644
--- a/src/core.c
+++ b/src/core.c
@@ -141,13 +141,7 @@
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
//#define GLFW_INCLUDE_NONE // Disable the standard OpenGL header inclusion on GLFW3
#include <GLFW/glfw3.h> // GLFW3 library: Windows, OpenGL context and Input management
-
- #if defined(__linux__)
- #define GLFW_EXPOSE_NATIVE_X11 // Linux specific definitions for getting
- #define GLFW_EXPOSE_NATIVE_GLX // native functions like glfwGetX11Window
- #include <GLFW/glfw3native.h> // which are required for hiding mouse
- #endif
- //#include <GL/gl.h> // OpenGL functions (GLFW3 already includes gl.h)
+ // NOTE: GLFW3 already includes gl.h (OpenGL) headers
#if !defined(SUPPORT_BUSY_WAIT_LOOP) && defined(_WIN32)
// NOTE: Those functions require linking with winmm library