Skip to content
Snippets Groups Projects
Select Git revision
  • 228e58262e18f2ee61799bd86d0be718b1e31f9f
  • for-vairdraw default protected
  • multi-context-windows
3 results

glfw

user avatar
Camilla Löwy authored
The intent of enforcing GLFW_EGL_CONTEXT_API for EGL native access
functions was to ensure that the application had requested the same
context creation API at window creation time that it then attempted
native access for.

With the 3.4 ABI this both isn't true anymore, as a single binary may
have multiple meanings of GLFW_NATIVE_CONTEXT_API, and is no longer
necessary, since glfwGetPlatform provides enough information to
disambiguate even without knowing what GLFW_PLATFORM was set to.

This all leaves the requirement that the context creation API be
GLFW_EGL_CONTEXT_API as just an unnecessary annoyance.

Fixes #2518
228e5826
History
Name Last commit Last update