Fixed typo.
authorSamuel Rødal <samuel.rodal@nokia.com>
Fri, 25 Mar 2011 11:49:40 +0000 (12:49 +0100)
committerSamuel Rødal <samuel.rodal@nokia.com>
Fri, 25 Mar 2011 11:49:40 +0000 (12:49 +0100)
src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandglcontext.cpp
src/plugins/platforms/wayland/gl_integration/wayland_egl/qwaylandglcontext.h

index 4444229..89ba12b 100644 (file)
@@ -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);
index d530b1c..a3befdc 100644 (file)
@@ -72,7 +72,7 @@ private:
     EGLConfig mConfig;
     QPlatformWindowFormat mFormat;
 
-    void createDefaultSharedContex(EGLDisplay eglDisplay);
+    void createDefaultSharedContext(EGLDisplay eglDisplay);
     QWaylandGLContext();
 
 };