Fixed indentation

This commit is contained in:
Robert Osfield 2018-01-08 10:31:47 +00:00
parent f866836d60
commit 0fafb385f9

View File

@ -211,8 +211,8 @@ void Sampler::compileGLObjects(State& state) const
#define GL_TEXTURE_BORDER_COLOR 0x1004
#endif
GLfloat color[4] = {(GLfloat)_borderColor.r(), (GLfloat)_borderColor.g(), (GLfloat)_borderColor.b(), (GLfloat)_borderColor.a()};
extensions->glSamplerParameterfv(samplerobject, GL_TEXTURE_BORDER_COLOR, color);
GLfloat color[4] = {(GLfloat)_borderColor.r(), (GLfloat)_borderColor.g(), (GLfloat)_borderColor.b(), (GLfloat)_borderColor.a()};
extensions->glSamplerParameterfv(samplerobject, GL_TEXTURE_BORDER_COLOR, color);
}
extensions->glSamplerParameteri(samplerobject, GL_TEXTURE_COMPARE_MODE, _shadow_texture_mode);
@ -222,7 +222,7 @@ void Sampler::compileGLObjects(State& state) const
{
// note, GL_TEXTURE_MAX_ANISOTROPY_EXT will either be defined
// by gl.h (or via glext.h) or by include/osg/Texture.
extensions->glSamplerParameterf(samplerobject, GL_TEXTURE_MAX_ANISOTROPY_EXT, _maxAnisotropy);
extensions->glSamplerParameterf(samplerobject, GL_TEXTURE_MAX_ANISOTROPY_EXT, _maxAnisotropy);
}
if(_maxlod - _minlod > 0)