summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-03-25 11:49:40 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2011-03-25 11:49:40 (GMT)
commitc648418f82450f12de14b93d007c7564cd77a791 (patch)
tree51c9184ca861783388ef57688984212417b7bb67 /src/plugins/platforms/wayland
parent3b37a79cd94bb0c03d7d8af0f20036ed60a7056f (diff)
downloadQt-c648418f82450f12de14b93d007c7564cd77a791.zip
Qt-c648418f82450f12de14b93d007c7564cd77a791.tar.gz
Qt-c648418f82450f12de14b93d007c7564cd77a791.tar.bz2
Fixed typo.
Diffstat (limited to 'src/plugins/platforms/wayland')
-rw-r--r--src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandglcontext.cpp4
-rw-r--r--src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandglcontext.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandglcontext.cpp b/src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandglcontext.cpp
index 4444229..89ba12b 100644
--- a/src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandglcontext.cpp
+++ b/src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandglcontext.cpp
@@ -63,7 +63,7 @@ QWaylandGLContext::QWaylandGLContext(EGLDisplay eglDisplay, const QPlatformWindo
if (format.useDefaultSharedContext()) {
if (!QPlatformGLContext::defaultSharedContext()) {
if (qt_defaultSharedContextMutex()->tryLock()){
- createDefaultSharedContex(eglDisplay);
+ createDefaultSharedContext(eglDisplay);
qt_defaultSharedContextMutex()->unlock();
} else {
qt_defaultSharedContextMutex()->lock(); //wait to the the shared context is created
@@ -128,7 +128,7 @@ void *QWaylandGLContext::getProcAddress(const QString &string)
return (void *) eglGetProcAddress(string.toLatin1().data());
}
-void QWaylandGLContext::createDefaultSharedContex(EGLDisplay display)
+void QWaylandGLContext::createDefaultSharedContext(EGLDisplay display)
{
QVector<EGLint> eglContextAttrs;
eglContextAttrs.append(EGL_CONTEXT_CLIENT_VERSION);
diff --git a/src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandglcontext.h b/src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandglcontext.h
index d530b1c..a3befdc 100644
--- a/src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandglcontext.h
+++ b/src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandglcontext.h
@@ -72,7 +72,7 @@ private:
EGLConfig mConfig;
QPlatformWindowFormat mFormat;
- void createDefaultSharedContex(EGLDisplay eglDisplay);
+ void createDefaultSharedContext(EGLDisplay eglDisplay);
QWaylandGLContext();
};