From Jannik Heller, typo fixes

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14826 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2015-04-07 18:01:12 +00:00
parent ab2fc1be76
commit 70b5297575
62 changed files with 104 additions and 105 deletions

View File

@@ -638,7 +638,7 @@ unsigned int Image::computePixelSizeInBits(GLenum format,GLenum type)
// note, haven't yet added proper handling of the ARB GL_COMPRESSRED_* pathways
// yet, no clear size for these since its probably implementation dependent
// which raises the question of how to actually querry for these sizes...
// which raises the question of how to actually query for these sizes...
// will need to revisit this issue, for now just report an error.
// this is possible a bit of mute point though as since the ARB compressed formats
// arn't yet used for storing images to disk, so its likely that users wont have

View File

@@ -41,7 +41,7 @@ void LightSource::setLight(Light* light)
setLocalStateSetModes(_value);
}
// Set the GLModes on StateSet associated with the ClipPlanes.
// Set the GLModes on StateSet associated with the LightSource.
void LightSource::setStateSetModes(StateSet& stateset,StateAttribute::GLModeValue value) const
{
if (_light.valid())

View File

@@ -482,7 +482,7 @@ bool OcclusionQueryNode::getPassed( const Camera* camera, NodeVisitor& nv )
{
// Two situations where we want to simply do a regular traversal:
// 1) it's the first frame for this camers
// 1) it's the first frame for this camera
// 2) we haven't rendered for an abnormally long time (probably because we're an out-of-range LOD child)
// In these cases, assume we're visible to avoid blinking.
OpenThreads::ScopedLock<OpenThreads::Mutex> lock( _frameCountMutex );

View File

@@ -400,7 +400,7 @@ void Texture1D::copyTexImage1D(State& state, int x, int y, int width)
copyTexSubImage1D(state,0 ,x, y, width);
return;
}
// the relevent texture object is not of the right size so
// the relevant texture object is not of the right size so
// needs to been deleted
// remove previously bound textures.
dirtyTextureObject();

View File

@@ -350,7 +350,7 @@ void Texture2D::copyTexImage2D(State& state, int x, int y, int width, int height
copyTexSubImage2D(state,0 ,0, x, y, width, height);
return;
}
// the relevent texture object is not of the right size so
// the relevant texture object is not of the right size so
// needs to been deleted
// remove previously bound textures.
dirtyTextureObject();

View File

@@ -89,7 +89,7 @@ void Texture2DMultisample::apply(State& state) const
const GLExtensions* extensions = state.get<GLExtensions>();
if (!extensions->isTextureMultisampledSupported)
{
OSG_INFO<<"Texture2DMultisample not supoorted."<<std::endl;
OSG_INFO<<"Texture2DMultisample not supported."<<std::endl;
return;
}

View File

@@ -477,7 +477,7 @@ void TextureRectangle::copyTexImage2D(State& state, int x, int y, int width, int
copyTexSubImage2D(state,0 ,0, x, y, width, height);
return;
}
// the relevent texture object is not of the right size so
// the relevant texture object is not of the right size so
// needs to been deleted
// remove previously bound textures.
dirtyTextureObject();