Fixed warnings.
This commit is contained in:
@@ -606,7 +606,7 @@ bool Texture::isCompressedInternalFormat(GLint internalFormat) const
|
||||
|
||||
void Texture::getCompressedSize(GLenum internalFormat, GLint width, GLint height, GLint depth, GLint& blockSize, GLint& size) const
|
||||
{
|
||||
if (_internalFormat == GL_COMPRESSED_RGB_S3TC_DXT1_EXT || _internalFormat == GL_COMPRESSED_RGBA_S3TC_DXT1_EXT)
|
||||
if (internalFormat == GL_COMPRESSED_RGB_S3TC_DXT1_EXT || internalFormat == GL_COMPRESSED_RGBA_S3TC_DXT1_EXT)
|
||||
blockSize = 8;
|
||||
else
|
||||
blockSize = 16;
|
||||
|
||||
@@ -208,7 +208,7 @@ int ProgramObject::compare(const osg::StateAttribute& sa) const
|
||||
}
|
||||
|
||||
|
||||
void ProgramObject::compileGLObjects(osg::State& state) const
|
||||
void ProgramObject::compileGLObjects(osg::State&) const
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -865,7 +865,7 @@ void Viewer::requestRedraw()
|
||||
//osg::notify(osg::INFO)<<"Viewer::requestRedraw() called"<<std::endl;
|
||||
}
|
||||
|
||||
void Viewer::requestContinuousUpdate(bool flag)
|
||||
void Viewer::requestContinuousUpdate(bool)
|
||||
{
|
||||
//osg::notify(osg::INFO)<<"Viewer::requestContinuousUpdate("<<flag<<") called"<<std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user