summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_x11egl.cpp
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2010-03-01 11:59:34 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2010-03-02 08:24:25 (GMT)
commitf936cc4e2a7b377981a626b1d45dbbb1c1df1cb8 (patch)
tree2947cac05c037279c92563d99f1362c141760e7a /src/opengl/qgl_x11egl.cpp
parenta2eddea1432d6e558dcd620cd5100ce4531975e8 (diff)
downloadQt-f936cc4e2a7b377981a626b1d45dbbb1c1df1cb8.zip
Qt-f936cc4e2a7b377981a626b1d45dbbb1c1df1cb8.tar.gz
Qt-f936cc4e2a7b377981a626b1d45dbbb1c1df1cb8.tar.bz2
Move EGL surface type setting to new QEglProperties::setDeviceType
Also renamed qt_egl_set_format->qt_eglproperties_set_glformat Reviewed-By: TrustMe
Diffstat (limited to 'src/opengl/qgl_x11egl.cpp')
-rw-r--r--src/opengl/qgl_x11egl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/opengl/qgl_x11egl.cpp b/src/opengl/qgl_x11egl.cpp
index 21ddfe3..7be4973 100644
--- a/src/opengl/qgl_x11egl.cpp
+++ b/src/opengl/qgl_x11egl.cpp
@@ -171,7 +171,8 @@ bool QGLContext::chooseContext(const QGLContext* shareContext)
// Construct the configuration we need for this surface.
QEglProperties configProps;
- qt_egl_set_format(configProps, devType, d->glFormat);
+ qt_eglproperties_set_glformat(configProps, d->glFormat);
+ configProps.setDeviceType(devType);
configProps.setPaintDeviceFormat(device());
configProps.setRenderableType(QEgl::OpenGL);