mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Moved X11-specific defines to X11 header.
This commit is contained in:
parent
dd69985649
commit
0ca1e67d7a
@ -57,9 +57,6 @@
|
||||
#define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextEGL EGL
|
||||
#define _GLFW_PLATFORM_LIBRARY_OPENGL_STATE _GLFWlibraryEGL EGL
|
||||
|
||||
#define _GLFW_EGL_NATIVE_WINDOW window->X11.handle
|
||||
#define _GLFW_EGL_NATIVE_DISPLAY _glfwLibrary.X11.display
|
||||
|
||||
|
||||
//========================================================================
|
||||
// GLFW platform specific types
|
||||
|
@ -56,6 +56,8 @@
|
||||
#if defined(_GLFW_X11_GLX)
|
||||
#include "x11_glx_platform.h"
|
||||
#elif defined(_GLFW_X11_EGL)
|
||||
#define _GLFW_EGL_NATIVE_WINDOW window->X11.handle
|
||||
#define _GLFW_EGL_NATIVE_DISPLAY _glfwLibrary.X11.display
|
||||
#include "x11_egl_platform.h"
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user