DRW: Disable anisotropic filtering on utility textures
Anisotropic filter may result in incorrect algorithm. This only affects util textures (not Image datablocks gpu textures).
This commit is contained in:
parent
711b55b527
commit
45400b32d0
|
@ -72,6 +72,7 @@ void drw_texture_set_parameters(GPUTexture *tex, DRWTextureFlag flags)
|
|||
else {
|
||||
GPU_texture_filter_mode(tex, flags & DRW_TEX_FILTER);
|
||||
}
|
||||
GPU_texture_anisotropic_filter(tex, false);
|
||||
GPU_texture_wrap_mode(tex, flags & DRW_TEX_WRAP, true);
|
||||
GPU_texture_compare_mode(tex, flags & DRW_TEX_COMPARE);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue