Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-07-20 18:38:24 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-07-20 18:40:46 +0300
commit9ad5eafe465e4ab0c9945e234b187dc210ac608a (patch)
treecd70231535fca7183fc19a02dc9625caf39bd38c /source/blender/blenfont/intern/blf_glyph.c
parentb3b4b9fb8c255d2ec7cc7433ffcafef6311da6e9 (diff)
Fix incorrect magnification filter for text texture.
Barely any visible difference, except when drawing big custom text with the Python API.
Diffstat (limited to 'source/blender/blenfont/intern/blf_glyph.c')
-rw-r--r--source/blender/blenfont/intern/blf_glyph.c2
1 files changed, 1 insertions, 1 deletions
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);
}