diff options
author | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2009-08-10 15:13:19 (GMT) |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2009-08-10 15:13:19 (GMT) |
commit | d7acc28c68ae02b530ba53667b165e844293b4e9 (patch) | |
tree | dfdbe536a27a76350f10e13803ad3ab5c64f703b /src/gui/egl/qegl.cpp | |
parent | e67cd6560eea4e4b600d5e3586cd823347e101d2 (diff) | |
parent | 70b5327e51481bf7b91d8fad50e3fc9ff3a1e888 (diff) | |
download | Qt-d7acc28c68ae02b530ba53667b165e844293b4e9.zip Qt-d7acc28c68ae02b530ba53667b165e844293b4e9.tar.gz Qt-d7acc28c68ae02b530ba53667b165e844293b4e9.tar.bz2 |
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'src/gui/egl/qegl.cpp')
-rw-r--r-- | src/gui/egl/qegl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/egl/qegl.cpp b/src/gui/egl/qegl.cpp index ebdac9a..1c45a58 100644 --- a/src/gui/egl/qegl.cpp +++ b/src/gui/egl/qegl.cpp @@ -95,7 +95,7 @@ bool QEglContext::chooseConfig do { // Get the number of matching configurations for this set of properties. EGLint matching = 0; - if (!eglChooseConfig(dpy, props.properties(), 0, 256, &matching) || !matching) + if (!eglChooseConfig(dpy, props.properties(), 0, 0, &matching) || !matching) continue; // If we want the best pixel format, then return the first |