summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-03-25 12:49:40 +0100
committerSamuel Rødal <samuel.rodal@nokia.com>2011-03-25 12:49:40 +0100
commitc648418f82450f12de14b93d007c7564cd77a791 (patch)
tree51c9184ca861783388ef57688984212417b7bb67 /src/plugins/platforms/xcb
parent3b37a79cd94bb0c03d7d8af0f20036ed60a7056f (diff)
Fixed typo.
Diffstat (limited to 'src/plugins/platforms/xcb')
-rw-r--r--src/plugins/platforms/xcb/qglxintegration.cpp4
-rw-r--r--src/plugins/platforms/xcb/qglxintegration.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/platforms/xcb/qglxintegration.cpp b/src/plugins/platforms/xcb/qglxintegration.cpp
index e086f91b31..bce3dfcc32 100644
--- a/src/plugins/platforms/xcb/qglxintegration.cpp
+++ b/src/plugins/platforms/xcb/qglxintegration.cpp
@@ -70,7 +70,7 @@ QGLXContext::QGLXContext(Window window, QXcbScreen *screen, const QPlatformWindo
if (format.useDefaultSharedContext()) {
if (!QPlatformGLContext::defaultSharedContext()) {
if (m_defaultSharedContextMutex.tryLock()){
- createDefaultSharedContex(screen);
+ createDefaultSharedContext(screen);
m_defaultSharedContextMutex.unlock();
} else {
m_defaultSharedContextMutex.lock(); //wait to the the shared context is created
@@ -102,7 +102,7 @@ QGLXContext::~QGLXContext()
glXDestroyContext(DISPLAY_FROM_XCB(m_screen), m_context);
}
-void QGLXContext::createDefaultSharedContex(QXcbScreen *screen)
+void QGLXContext::createDefaultSharedContext(QXcbScreen *screen)
{
int x = 0;
int y = 0;
diff --git a/src/plugins/platforms/xcb/qglxintegration.h b/src/plugins/platforms/xcb/qglxintegration.h
index c65a00a184..2e19cf2a7a 100644
--- a/src/plugins/platforms/xcb/qglxintegration.h
+++ b/src/plugins/platforms/xcb/qglxintegration.h
@@ -74,7 +74,7 @@ private:
QGLXContext (QXcbScreen *screen, Drawable drawable, GLXContext context);
static QMutex m_defaultSharedContextMutex;
- static void createDefaultSharedContex(QXcbScreen *xd);
+ static void createDefaultSharedContext(QXcbScreen *xd);
};
#endif