mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 05:44:08 +00:00
![Brian Tarricone](/assets/img/avatar_default.png)
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