diff options
Diffstat (limited to 'dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase')
| -rw-r--r-- | dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_33.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_33.patch b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_33.patch new file mode 100644 index 000000000..b0be292dd --- /dev/null +++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_33.patch | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | Workaround EGL initialization failure due visual mismatch | ||
| 2 | |||
| 3 | Error: | ||
| 4 | |||
| 5 | Warning: EGL suggested using X Visual ID 33 (RGB888) for EGL config 28 (RGB444), but this is incompatable | ||
| 6 | Unable to find an X11 visual which matches EGL config 28 | ||
| 7 | Could not initialize EGL | ||
| 8 | Aborted | ||
| 9 | |||
| 10 | Upstream-Status: Inappropriate [workaround] | ||
| 11 | |||
| 12 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
| 13 | |||
| 14 | diff -Naur qtbase-opensource-src-5.1.1_original/src/platformsupport/eglconvenience/qxlibeglintegration.cpp qtbase-opensource-src-5.1.1/src/platformsupport/eglconvenience/qxlibeglintegration.cpp | ||
| 15 | --- qtbase-opensource-src-5.1.1_original/src/platformsupport/eglconvenience/qxlibeglintegration.cpp 2013-12-25 19:08:42.163895341 -0800 | ||
| 16 | +++ qtbase-opensource-src-5.1.1/src/platformsupport/eglconvenience/qxlibeglintegration.cpp 2013-12-25 19:09:37.207893799 -0800 | ||
| 17 | @@ -180,5 +180,5 @@ | ||
| 18 | } | ||
| 19 | |||
| 20 | qWarning("Unable to find an X11 visual which matches EGL config %d", configId); | ||
| 21 | - return (VisualID)0; | ||
| 22 | + return (VisualID)33; | ||
| 23 | } | ||
