diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-09-14 14:10:05 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-17 03:20:55 +0200 |
commit | 884251cdc1c8a0fdac9d98fe0b8f1e810ca5f9cf (patch) | |
tree | d6f4c256b6ecf31b8c13663ab3eb5c8e7cf5898c /src/platformsupport/eglconvenience | |
parent | 3061050b7f87cf4090facdcbdfe5c3be37ef663e (diff) |
Fixed XComposite hardware integration in wayland plugin.
We should set both the pixmap and window bits for XComposite to work on
a stricter EGL / GLX implementation.
Change-Id: Ie1be44ebcc68fed87f48c74dffd887ffae1189d5
Reviewed-on: http://codereview.qt-project.org/4893
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
Diffstat (limited to 'src/platformsupport/eglconvenience')
-rw-r--r-- | src/platformsupport/eglconvenience/qeglconvenience.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platformsupport/eglconvenience/qeglconvenience.cpp b/src/platformsupport/eglconvenience/qeglconvenience.cpp index bb2613e05b..b864378470 100644 --- a/src/platformsupport/eglconvenience/qeglconvenience.cpp +++ b/src/platformsupport/eglconvenience/qeglconvenience.cpp @@ -208,7 +208,7 @@ EGLConfig q_configFromGLFormat(EGLDisplay display, const QSurfaceFormat &format, { EGLConfig cfg = 0; QVector<EGLint> configureAttributes = q_createConfigAttributesFromFormat(format); - configureAttributes.append(EGL_SURFACE_TYPE); //we only support eglconfigs for windows for now + configureAttributes.append(EGL_SURFACE_TYPE); configureAttributes.append(surfaceType); configureAttributes.append(EGL_RENDERABLE_TYPE); |