Make EGL backend more readable

This commit is contained in:
Camilla Berglund
2015-12-02 23:53:50 +01:00
parent 0df4e06f11
commit 02fdd6459e
6 changed files with 65 additions and 71 deletions
+2 -2
View File
@@ -64,8 +64,8 @@
#if defined(_GLFW_GLX)
#include "glx_context.h"
#elif defined(_GLFW_EGL)
#define _GLFW_EGL_NATIVE_WINDOW window->x11.handle
#define _GLFW_EGL_NATIVE_DISPLAY _glfw.x11.display
#define _GLFW_EGL_NATIVE_WINDOW ((EGLNativeWindowType) window->x11.handle)
#define _GLFW_EGL_NATIVE_DISPLAY ((EGLNativeDisplayType) _glfw.x11.display)
#include "egl_context.h"
#else
#error "No supported context creation API selected"