summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-12-01 15:37:51 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-12-01 16:08:14 (GMT)
commit5fcdba84a8546a31974e4e1ecfaf481e0b9921a5 (patch)
tree0d1cc84ebb343e52e971b9f52497734f3e8981e4
parent9ec7743776a8d444d29ae4439039beff39fee1bc (diff)
downloadQt-5fcdba84a8546a31974e4e1ecfaf481e0b9921a5.zip
Qt-5fcdba84a8546a31974e4e1ecfaf481e0b9921a5.tar.gz
Qt-5fcdba84a8546a31974e4e1ecfaf481e0b9921a5.tar.bz2
Fix spelling mistake in QEGLPlatformcontext
Autocompletion and a hint of dyslexia made me not see this before :) Reviewed-by: paul
-rw-r--r--src/plugins/platforms/eglconvenience/qeglplatformcontext.cpp2
-rw-r--r--src/plugins/platforms/eglconvenience/qeglplatformcontext.h2
-rw-r--r--src/plugins/platforms/eglfs/qeglfsscreen.cpp2
-rw-r--r--src/plugins/platforms/openkode/qopenkodewindow.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/platforms/eglconvenience/qeglplatformcontext.cpp b/src/plugins/platforms/eglconvenience/qeglplatformcontext.cpp
index c4adb6f..4b83a22 100644
--- a/src/plugins/platforms/eglconvenience/qeglplatformcontext.cpp
+++ b/src/plugins/platforms/eglconvenience/qeglplatformcontext.cpp
@@ -146,7 +146,7 @@ void* QEGLPlatformContext::getProcAddress(const QString& procName)
return (void *)eglGetProcAddress(qPrintable(procName));
}
-void QEGLPlatformContext::makeDefaultSaredContext()
+void QEGLPlatformContext::makeDefaultSharedContext()
{
setDefaultSharedContext(this);
}
diff --git a/src/plugins/platforms/eglconvenience/qeglplatformcontext.h b/src/plugins/platforms/eglconvenience/qeglplatformcontext.h
index ae1a891..ac53559 100644
--- a/src/plugins/platforms/eglconvenience/qeglplatformcontext.h
+++ b/src/plugins/platforms/eglconvenience/qeglplatformcontext.h
@@ -56,7 +56,7 @@ public:
void swapBuffers();
void* getProcAddress(const QString& procName);
- void makeDefaultSaredContext();
+ void makeDefaultSharedContext();
QPlatformWindowFormat platformWindowFormat() const;
private:
diff --git a/src/plugins/platforms/eglfs/qeglfsscreen.cpp b/src/plugins/platforms/eglfs/qeglfsscreen.cpp
index cbe6210..db90ff2 100644
--- a/src/plugins/platforms/eglfs/qeglfsscreen.cpp
+++ b/src/plugins/platforms/eglfs/qeglfsscreen.cpp
@@ -203,7 +203,7 @@ void QEglFSScreen::createAndSetPlatformContext()
attribList[temp++] = EGL_NONE;
QEGLPlatformContext *platformContext = new QEGLPlatformContext(m_dpy,config,attribList,m_surface,EGL_OPENGL_ES_API);
- platformContext->makeDefaultSaredContext();
+ platformContext->makeDefaultSharedContext();
m_platformContext = platformContext;
EGLint w,h; // screen size detection
diff --git a/src/plugins/platforms/openkode/qopenkodewindow.cpp b/src/plugins/platforms/openkode/qopenkodewindow.cpp
index 91c6473..01f8d21 100644
--- a/src/plugins/platforms/openkode/qopenkodewindow.cpp
+++ b/src/plugins/platforms/openkode/qopenkodewindow.cpp
@@ -158,7 +158,7 @@ QOpenKODEWindow::QOpenKODEWindow(QWidget *tlw)
EGLSurface surface = eglCreateWindowSurface(screen->eglDisplay(),m_eglConfig,m_eglWindow,m_eglWindowAttrs.constData());
m_platformGlContext = new QEGLPlatformContext(screen->eglDisplay(), m_eglConfig,
m_eglContextAttrs.data(), surface, m_eglApi);
- m_platformGlContext->makeDefaultSaredContext();
+ m_platformGlContext->makeDefaultSharedContext();
} else {
m_platformGlContext = const_cast<QEGLPlatformContext *>(static_cast<const QEGLPlatformContext *>(QPlatformGLContext::defaultSharedContext()));
kdDestroyWindow(m_kdWindow);