summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2010-10-15 05:19:08 (GMT)
committerGunnar Sletta <gunnar.sletta@nokia.com>2010-10-15 05:20:37 (GMT)
commitd22741b4bee0e526aefbbd7b851c2aa1b0b1c5b6 (patch)
tree0f1ff3b2cafce8e04c99072e2736ad867b95f9d0 /src/plugins
parent74768276a7b69ad54b93188abcf2ca4bf50dff8a (diff)
downloadQt-d22741b4bee0e526aefbbd7b851c2aa1b0b1c5b6.zip
Qt-d22741b4bee0e526aefbbd7b851c2aa1b0b1c5b6.tar.gz
Qt-d22741b4bee0e526aefbbd7b851c2aa1b0b1c5b6.tar.bz2
actually set egl swap interval
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/platforms/eglfs/qeglfsscreen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsscreen.cpp b/src/plugins/platforms/eglfs/qeglfsscreen.cpp
index 682f2f4..2d23cca 100644
--- a/src/plugins/platforms/eglfs/qeglfsscreen.cpp
+++ b/src/plugins/platforms/eglfs/qeglfsscreen.cpp
@@ -145,9 +145,9 @@ QEglFSScreen::QEglFSScreen(EGLNativeDisplayType display)
if (!ok)
swapInterval = 1;
}
- platformFormat.setSwapInterval(swapInterval);
EGLConfig config = q_configFromQPlatformWindowFormat(m_dpy, platformFormat);
+ eglSwapInterval(display, swapInterval);
EGLNativeWindowType eglWindow = 0;
#ifdef Q_OPENKODE