GLTexture: Fix Anisotropic filtering affecting the standard mipmap samplers
Everything's in the title...
This commit is contained in:
parent
45400b32d0
commit
abc017ae0b
|
@ -530,7 +530,7 @@ void GLTexture::samplers_update(void)
|
|||
|
||||
for (int i = 0; i <= GPU_SAMPLER_ICON - 1; i++) {
|
||||
eGPUSamplerState state = static_cast<eGPUSamplerState>(i);
|
||||
if (state & GPU_SAMPLER_MIPMAP) {
|
||||
if ((state & GPU_SAMPLER_ANISO) && (state & GPU_SAMPLER_MIPMAP)) {
|
||||
glSamplerParameterf(samplers_[i], GL_TEXTURE_MAX_ANISOTROPY_EXT, aniso_filter);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue