diff --git a/src/win32_window.c b/src/win32_window.c index 5d385b4f..af2b9c92 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -2193,7 +2193,7 @@ EGLenum _glfwPlatformGetEGLPlatform(void) EGLNativeDisplayType _glfwPlatformGetEGLNativeDisplay(void) { - return EGL_DEFAULT_DISPLAY; + return GetDC(_glfw.win32.helperWindowHandle); } EGLNativeWindowType _glfwPlatformGetEGLNativeWindow(_GLFWwindow* window)