Ver Fonte

Replaced NULL with EGL_DEFAULT_DISPLAY.

Camilla Berglund há 12 anos atrás
pai
commit
98063d2957
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/win32_platform.h

+ 1 - 1
src/win32_platform.h

@@ -125,7 +125,7 @@ typedef HRESULT (WINAPI * DWMISCOMPOSITIONENABLED_T)(BOOL*);
  #include "wgl_platform.h"
 #elif defined(_GLFW_EGL)
  #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"
 #else
  #error "No supported context creation API selected"