From a494cd71e8451e8bd0c7154903b6cb0c0e0ce83f Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 5 Sep 2016 07:59:15 +0100 Subject: [PATCH] Fixed typo --- include/osg/GraphicsContext | 6 +++--- src/osg/GraphicsContext.cpp | 4 ++-- src/osg/GraphicsThread.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/osg/GraphicsContext b/include/osg/GraphicsContext index c191a47b2..530c3fe97 100644 --- a/include/osg/GraphicsContext +++ b/include/osg/GraphicsContext @@ -452,9 +452,9 @@ class OSG_EXPORT GraphicsContext : public Object const SwapCallback* getSwapCallback() const { return _swapCallback.get(); } /** Convenience method for handling whether to call swapbuffers callback or the standard context swapBuffersImplementation. - * swapBuffersCallbackOrImplemenation() is called by swapBuffers() and osg::SwapBuffersOperation, end users should normally - * call swapBuffers() rather than swapBuffersCallbackOrImplemenation(). */ - void swapBuffersCallbackOrImplemenation() + * swapBuffersCallbackOrImplementation() is called by swapBuffers() and osg::SwapBuffersOperation, end users should normally + * call swapBuffers() rather than swapBuffersCallbackOrImplementation(). */ + void swapBuffersCallbackOrImplementation() { if (_state.valid()) _state->frameCompleted(); diff --git a/src/osg/GraphicsContext.cpp b/src/osg/GraphicsContext.cpp index 3beddee93..2c1b82719 100644 --- a/src/osg/GraphicsContext.cpp +++ b/src/osg/GraphicsContext.cpp @@ -568,7 +568,7 @@ void GraphicsContext::swapBuffers() { if (isCurrent()) { - swapBuffersCallbackOrImplemenation(); + swapBuffersCallbackOrImplementation(); clear(); } else if (_graphicsThread.valid() && @@ -579,7 +579,7 @@ void GraphicsContext::swapBuffers() else { makeCurrent(); - swapBuffersCallbackOrImplemenation(); + swapBuffersCallbackOrImplementation(); clear(); } } diff --git a/src/osg/GraphicsThread.cpp b/src/osg/GraphicsThread.cpp index 5a2182c4f..c805b0bfe 100644 --- a/src/osg/GraphicsThread.cpp +++ b/src/osg/GraphicsThread.cpp @@ -55,7 +55,7 @@ void GraphicsOperation::operator () (Object* object) void SwapBuffersOperation::operator () (GraphicsContext* context) { - context->swapBuffersCallbackOrImplemenation(); + context->swapBuffersCallbackOrImplementation(); context->clear(); }