Fixes to typo of *Dirty()

This commit is contained in:
Robert Osfield
2002-11-11 16:11:48 +00:00
parent 5c1c9ec0e9
commit 35b9317baf
6 changed files with 7 additions and 7 deletions

View File

@@ -305,7 +305,7 @@ void Texture::applyTexParameters(GLenum target, State& state) const
glTexParameterfv(target, GL_TEXTURE_BORDER_COLOR, _borderColor.ptr());
}
getTextureParameterDity(state.getContextID()) = false;
getTextureParameterDirty(state.getContextID()) = false;
}

View File

@@ -85,7 +85,7 @@ void Texture1D::apply(State& state) const
{
glBindTexture( GL_TEXTURE_1D, handle );
if (getTextureParameterDity(state.getContextID())) applyTexParameters(GL_TEXTURE_1D,state);
if (getTextureParameterDirty(state.getContextID())) applyTexParameters(GL_TEXTURE_1D,state);
if (_subloadCallback.valid())
{

View File

@@ -88,7 +88,7 @@ void Texture2D::apply(State& state) const
{
glBindTexture( GL_TEXTURE_2D, handle );
if (getTextureParameterDity(state.getContextID())) applyTexParameters(GL_TEXTURE_2D,state);
if (getTextureParameterDirty(state.getContextID())) applyTexParameters(GL_TEXTURE_2D,state);
if (_subloadCallback.valid())
{

View File

@@ -102,7 +102,7 @@ void Texture3D::apply(State& state) const
{
glBindTexture( GL_TEXTURE_3D, handle );
if (getTextureParameterDity(state.getContextID())) applyTexParameters(GL_TEXTURE_3D,state);
if (getTextureParameterDirty(state.getContextID())) applyTexParameters(GL_TEXTURE_3D,state);
if (_subloadCallback.valid())
{

View File

@@ -191,7 +191,7 @@ void TextureCubeMap::apply(State& state) const
if (handle != 0)
{
glBindTexture( GL_TEXTURE_CUBE_MAP, handle );
if (getTextureParameterDity(state.getContextID())) applyTexParameters(GL_TEXTURE_CUBE_MAP,state);
if (getTextureParameterDirty(state.getContextID())) applyTexParameters(GL_TEXTURE_CUBE_MAP,state);
if (_subloadCallback.valid())
{