isTextureLODBiasSupported check added

This commit is contained in:
valid-ptr 2020-12-04 18:26:21 +03:00 committed by konstantin.matveyev
parent b4eb001d14
commit 39a78e075f

View File

@ -2216,6 +2216,7 @@ void Texture::applyTexParameters(GLenum target, State& state) const
glTexParameterf(target, GL_TEXTURE_MAX_LOD, _maxlod);
}
if (extensions->isTextureLODBiasSupported)
glTexParameterf(target, GL_TEXTURE_LOD_BIAS, _lodbias);
getTextureParameterDirty(state.getContextID()) = false;