diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-03-25 11:49:40 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-03-25 11:49:40 (GMT) |
commit | c648418f82450f12de14b93d007c7564cd77a791 (patch) | |
tree | 51c9184ca861783388ef57688984212417b7bb67 /src/plugins/platforms/xcb | |
parent | 3b37a79cd94bb0c03d7d8af0f20036ed60a7056f (diff) | |
download | Qt-c648418f82450f12de14b93d007c7564cd77a791.zip Qt-c648418f82450f12de14b93d007c7564cd77a791.tar.gz Qt-c648418f82450f12de14b93d007c7564cd77a791.tar.bz2 |
Fixed typo.
Diffstat (limited to 'src/plugins/platforms/xcb')
-rw-r--r-- | src/plugins/platforms/xcb/qglxintegration.cpp | 4 | ||||
-rw-r--r-- | src/plugins/platforms/xcb/qglxintegration.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/platforms/xcb/qglxintegration.cpp b/src/plugins/platforms/xcb/qglxintegration.cpp index e086f91..bce3dfc 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 c65a00a..2e19cf2 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 |