diff options
author | David Boddie <dboddie@trolltech.com> | 2009-08-11 14:59:33 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-08-11 14:59:33 (GMT) |
commit | 1c62dc421cf1ae45fe5089674b4d67fd0f1ff529 (patch) | |
tree | dc27fc61fe81c9fffe74c2f91a2a5b148eb9e2b1 /src/gui/egl/qegl.cpp | |
parent | ac174ba05db74eb5928ac5d3408bca201adf29ca (diff) | |
parent | 54ad9d0e8527eef9ce027f90d7c0ec1d9051833a (diff) | |
download | Qt-1c62dc421cf1ae45fe5089674b4d67fd0f1ff529.zip Qt-1c62dc421cf1ae45fe5089674b4d67fd0f1ff529.tar.gz Qt-1c62dc421cf1ae45fe5089674b4d67fd0f1ff529.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 |