mirror of
https://github.com/glfw/glfw.git
synced 2024-12-02 00:54:36 +00:00
b9619f07a8
ANGLE's EGL supports D3D11on12 via the ANGLE_platform_angle_d3d11on12 extension. Enabling it requires passing the EGL_PLATFORM_ANGLE_D3D11ON12_ANGLE attribute to eglGetPlatformDisplayEXT. Specifying custom EGL attributes is not currently exposed in GLFW and based on https://github.com/glfw/glfw/issues/1718#issuecomment-653236025 this may not even be desirable. Instead, this change adds a new value GLFW_ANGLE_PLATFORM_TYPE_D3D11ON12 for the ANGLE platform type glfwInitHint. When specified it implicitly sets the required EGL attribute. Note that D3D11on12 is supported only on executables specifically targetted for Windows 10, which requires a manifest. |
||
---|---|---|
.. | ||
GLFW |