mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 00:30:57 +00:00
EGL: Add support for EGL_ANGLE_platform_angle
This adds basic support for selecting the platform type (rendering backend) when running on ANGLE. Related to #1380.
This commit is contained in:
+1
-1
@@ -1684,7 +1684,7 @@ const char* _glfwPlatformGetClipboardString(void)
|
||||
return _glfw.wl.clipboardString;
|
||||
}
|
||||
|
||||
EGLenum _glfwPlatformGetEGLPlatform(void)
|
||||
EGLenum _glfwPlatformGetEGLPlatform(EGLint** attribs)
|
||||
{
|
||||
if (_glfw.egl.EXT_platform_base && _glfw.egl.EXT_platform_wayland)
|
||||
return EGL_PLATFORM_WAYLAND_EXT;
|
||||
|
||||
Reference in New Issue
Block a user