Commit: 9ad5eafe465e4ab0c9945e234b187dc210ac608a
Author: Brecht Van Lommel
Date: Fri Jul 20 17:38:24 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB9ad5eafe465e4ab0c9945e234b187dc210ac608a
Fix incorrect magnification filter for text texture.
Barely any visible difference, except when drawing big custom text
with the Python API.
===================================================================
M source/blender/blenfont/intern/blf_glyph.c
===================================================================
diff --git a/source/blender/blenfont/intern/blf_glyph.c
b/source/blender/blenfont/intern/blf_glyph.c
index 30e31bb2580..99be8539d24 100644
--- a/source/blender/blenfont/intern/blf_glyph.c
+++ b/source/blender/blenfont/intern/blf_glyph.c
@@ -244,7 +244,7 @@ static void blf_glyph_cache_texture(FontBLF *font,
GlyphCacheBLF *gc)
gc->textures[gc->texture_current] = tex;
GPU_texture_bind(tex, 0);
GPU_texture_wrap_mode(tex, false);
- GPU_texture_filters(tex, GPU_NEAREST, GPU_LINEAR);
+ GPU_texture_filters(tex, GPU_NEAREST, GPU_NEAREST);
GPU_texture_unbind(tex);
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs