Replaced NULL with EGL_DEFAULT_DISPLAY.

master
Camilla Berglund ago%!(EXTRA string=13 years)
parent 28bf3f700d
commit 98063d2957
  1. 2
      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"

Loading…
Cancel
Save