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
+1 -1
View File
@@ -146,7 +146,7 @@ typedef HRESULT (WINAPI * SETPROCESSDPIAWARENESS_T)(PROCESS_DPI_AWARENESS);
#if defined(_GLFW_WGL)
#include "wgl_context.h"
#elif defined(_GLFW_EGL)
#define _GLFW_EGL_NATIVE_WINDOW window->win32.handle
#define _GLFW_EGL_NATIVE_WINDOW ((EGLNativeWindowType) window->win32.handle)
#define _GLFW_EGL_NATIVE_DISPLAY EGL_DEFAULT_DISPLAY
#include "egl_context.h"
#else