Skip to content

Fix error reporting for EGL_PLATFORM_DEVICE_EXT

This is a fix to the EGL_PLATFORM_DEVICE_EXT handling in libglvnd's eglGetPlatformDisplay implementation.

Libglvnd has an optimization for EGL_PLATFORM_DEVICE_EXT, where if it recognizes the native display as an EGLDeviceEXT handle, then it'll forward the call to only the vendor library which owns that device. But, if the vendor library returns EGL_NO_DISPLAY, then libglvnd didn't correctly return the last error code in eglGetError().

Merge request reports