Removed X11 prefix from EGL and GLX files.
This commit is contained in:
parent
74488bec67
commit
7493bbe0c8
@ -21,16 +21,16 @@ elseif (_GLFW_WIN32_WGL)
|
||||
win32_native.c win32_opengl.c win32_time.c win32_window.c
|
||||
win32_dllmain.c)
|
||||
elseif (_GLFW_X11_GLX)
|
||||
set(glfw_HEADERS ${common_HEADERS} x11_platform.h)
|
||||
set(glfw_SOURCES ${common_SOURCES} x11_clipboard.c x11_fullscreen.c
|
||||
x11_gamma.c x11_glx_opengl.c x11_init.c x11_input.c
|
||||
set(glfw_HEADERS ${common_HEADERS} x11_platform.h glx_platform.h)
|
||||
set(glfw_SOURCES ${common_SOURCES} glx_opengl.c x11_clipboard.c
|
||||
x11_fullscreen.c x11_gamma.c x11_init.c x11_input.c
|
||||
x11_joystick.c x11_keysym2unicode.c x11_native.c x11_time.c
|
||||
x11_window.c)
|
||||
elseif (_GLFW_X11_EGL)
|
||||
set(glfw_HEADERS ${common_HEADERS} x11_egl_platform.h)
|
||||
set(glfw_SOURCES ${common_SOURCES} x11_clipboard.c x11_fullscreen.c
|
||||
x11_gamma.c x11_init.c x11_input.c x11_joystick.c
|
||||
x11_keysym2unicode.c x11_egl_opengl.c x11_time.c
|
||||
set(glfw_HEADERS ${common_HEADERS} x11_platform.h egl_platform.h)
|
||||
set(glfw_SOURCES ${common_SOURCES} egl_opengl.c x11_clipboard.c
|
||||
x11_fullscreen.c x11_gamma.c x11_init.c x11_input.c
|
||||
x11_joystick.c x11_keysym2unicode.c x11_time.c
|
||||
x11_window.c)
|
||||
endif()
|
||||
|
||||
|
@ -55,12 +55,12 @@
|
||||
|
||||
#if defined(_GLFW_X11_GLX)
|
||||
#define _GLFW_X11_CONTEXT_VISUAL window->GLX.visual
|
||||
#include "x11_glx_platform.h"
|
||||
#include "glx_platform.h"
|
||||
#elif defined(_GLFW_X11_EGL)
|
||||
#define _GLFW_X11_CONTEXT_VISUAL window->EGL.visual
|
||||
#define _GLFW_EGL_NATIVE_WINDOW window->X11.handle
|
||||
#define _GLFW_EGL_NATIVE_DISPLAY _glfwLibrary.X11.display
|
||||
#include "x11_egl_platform.h"
|
||||
#include "egl_platform.h"
|
||||
#endif
|
||||
|
||||
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowX11 X11
|
||||
|
Loading…
Reference in New Issue
Block a user