Replaced NULL with EGL_DEFAULT_DISPLAY.

This commit is contained in:
Camilla Berglund 2013-03-24 21:19:53 +01:00
parent 28bf3f700d
commit 98063d2957

View File

@ -125,7 +125,7 @@ typedef HRESULT (WINAPI * DWMISCOMPOSITIONENABLED_T)(BOOL*);
#include "wgl_platform.h" #include "wgl_platform.h"
#elif defined(_GLFW_EGL) #elif defined(_GLFW_EGL)
#define _GLFW_EGL_NATIVE_WINDOW window->win32.handle #define _GLFW_EGL_NATIVE_WINDOW window->win32.handle
#define _GLFW_EGL_NATIVE_DISPLAY NULL #define _GLFW_EGL_NATIVE_DISPLAY EGL_DEFAULT_DISPLAY
#include "egl_platform.h" #include "egl_platform.h"
#else #else
#error "No supported context creation API selected" #error "No supported context creation API selected"