mirror of
https://github.com/brl/mutter.git
synced 2025-02-03 07:13:24 +00:00
c4ae1a55fa
Some EGL drivers, such as the PowerVR simulator (and some proprietary drivers) return zero when the EGLConfig is queried for the EGL_NATIVE_VISUAL_ID attribute via eglGetConfigAttrib(). This patch detects and attempts to work around that situation by picking a visual with the same color depth. http://bugzilla.openedhand.com/show_bug.cgi?id=2123