diff options
| author | Andre Weissflog <floooh@gmail.com> | 2019-08-24 20:22:27 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2019-08-24 20:22:27 +0200 |
| commit | e3f1da527ef574c750fc43df740dc30e1c1f5d5a (patch) | |
| tree | c04b6a72269a0a8749a216ce991525c44890a3a4 | |
| parent | 7dfef9432284f151317f8da17fb2709ecf9f9059 (diff) | |
sokol_fontstash.h: use linear mag filter
| -rw-r--r-- | util/sokol_fontstash.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/sokol_fontstash.h b/util/sokol_fontstash.h index fd262e4c..a0afcdaf 100644 --- a/util/sokol_fontstash.h +++ b/util/sokol_fontstash.h @@ -641,6 +641,7 @@ static int _sfons_render_create(void* user_ptr, int width, int height) { img_desc.width = sfons->width; img_desc.height = sfons->height; img_desc.min_filter = SG_FILTER_LINEAR; + img_desc.mag_filter = SG_FILTER_LINEAR; img_desc.usage = SG_USAGE_DYNAMIC; img_desc.pixel_format = SG_PIXELFORMAT_R8; sfons->img = sg_make_image(&img_desc); |