diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-02-16 15:15:04 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-03-02 08:24:23 (GMT) |
commit | 6378d3d0e851f6af3e518ff53351de3253368026 (patch) | |
tree | 83d7c7b14d966f63aaf13a9670a6c3028fa14935 /src/gui/egl/qegl_x11.cpp | |
parent | 28b85c76dd0ba4796ec519b890f6fab0fc813061 (diff) | |
download | Qt-6378d3d0e851f6af3e518ff53351de3253368026.zip Qt-6378d3d0e851f6af3e518ff53351de3253368026.tar.gz Qt-6378d3d0e851f6af3e518ff53351de3253368026.tar.bz2 |
Move chooseConfig and createSurface logic to QEgl functions
We keep the methods in QEglContext, but these are useful helpers
which wrap the QEgl version of the functions, which is where the
bulk of the logic is (for these functions anyway).
Reviewed-By: Aleksandar Sasha Babic
Diffstat (limited to 'src/gui/egl/qegl_x11.cpp')
-rw-r--r-- | src/gui/egl/qegl_x11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/egl/qegl_x11.cpp b/src/gui/egl/qegl_x11.cpp index 4a813c6..d24727a 100644 --- a/src/gui/egl/qegl_x11.cpp +++ b/src/gui/egl/qegl_x11.cpp @@ -55,7 +55,7 @@ QT_BEGIN_NAMESPACE -EGLSurface QEglContext::createSurface(QPaintDevice *device, const QEglProperties *properties) +EGLSurface QEgl::createSurface(QPaintDevice *device, EGLConfig cfg, const QEglProperties *properties) { // Create the native drawable for the paint device. int devType = device->devType(); |