From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)."

This commit is contained in:
Robert Osfield
2007-12-10 17:30:18 +00:00
parent 1dcb6cc4fd
commit f4afa427a7
216 changed files with 613 additions and 619 deletions

View File

@@ -254,7 +254,7 @@ void Renderer::cull()
if (_done || _graphicsThreadDoesCull) return;
// note we assume lock has already been aquired.
// note we assume lock has already been acquired.
osgUtil::SceneView* sceneView = _availableQueue.takeFront();
DEBUG_MESSAGE<<"cull() got SceneView "<<sceneView<<std::endl;
@@ -274,7 +274,7 @@ void Renderer::cull()
const osg::FrameStamp* fs = state->getFrameStamp();
int frameNumber = fs ? fs->getFrameNumber() : 0;
// do cull taversal
// do cull traversal
osg::Timer_t beforeCullTick = osg::Timer::instance()->tick();
sceneView->inheritCullSettings(*(sceneView->getCamera()));
@@ -356,15 +356,15 @@ void Renderer::draw()
state->getDynamicObjectRenderingCompletedCallback()->completed(state);
}
bool aquireGPUStats = stats && _timerQuerySupported && stats->collectStats("gpu");
bool acquireGPUStats = stats && _timerQuerySupported && stats->collectStats("gpu");
if (aquireGPUStats)
if (acquireGPUStats)
{
checkQuery(stats);
}
// do draw traveral
if (aquireGPUStats)
// do draw traversal
if (acquireGPUStats)
{
checkQuery(stats);
beginQuery(frameNumber);
@@ -404,7 +404,7 @@ void Renderer::draw()
sceneView->flushDeletedGLObjects(availableTime);
}
if (aquireGPUStats)
if (acquireGPUStats)
{
endQuery();
checkQuery(stats);
@@ -464,14 +464,14 @@ void Renderer::cull_draw()
initialize(state);
}
bool aquireGPUStats = stats && _timerQuerySupported && stats->collectStats("gpu");
bool acquireGPUStats = stats && _timerQuerySupported && stats->collectStats("gpu");
if (aquireGPUStats)
if (acquireGPUStats)
{
checkQuery(stats);
}
// do cull taversal
// do cull traversal
osg::Timer_t beforeCullTick = osg::Timer::instance()->tick();
sceneView->inheritCullSettings(*(sceneView->getCamera()));
@@ -487,8 +487,8 @@ void Renderer::cull_draw()
#endif
// do draw traveral
if (aquireGPUStats)
// do draw traversal
if (acquireGPUStats)
{
checkQuery(stats);
beginQuery(frameNumber);
@@ -526,7 +526,7 @@ void Renderer::cull_draw()
sceneView->flushDeletedGLObjects(availableTime);
}
if (aquireGPUStats)
if (acquireGPUStats)
{
endQuery();
checkQuery(stats);