Fixed typo

This commit is contained in:
Robert Osfield 2016-09-05 07:59:15 +01:00
parent 4a6fb5a49a
commit a494cd71e8
3 changed files with 6 additions and 6 deletions

View File

@ -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();

View File

@ -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();
}
}

View File

@ -55,7 +55,7 @@ void GraphicsOperation::operator () (Object* object)
void SwapBuffersOperation::operator () (GraphicsContext* context)
{
context->swapBuffersCallbackOrImplemenation();
context->swapBuffersCallbackOrImplementation();
context->clear();
}