Win32: Use helper window DC as EGL native display

Closes #1717.
master
Camilla Löwy ago%!(EXTRA string=5 years)
parent bcb8558189
commit 2539d03747
  1. 2
      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)

Loading…
Cancel
Save