aboutsummaryrefslogtreecommitdiff
path: root/util/sokol_fontstash.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2023-08-31 16:54:02 +0200
committerAndre Weissflog <floooh@gmail.com>2023-08-31 16:54:07 +0200
commiteeb975cf9c1796819ec5578582ea435ac8e9c4fe (patch)
treecb88fbd01573b3e359905397dcfa7847e1818719 /util/sokol_fontstash.h
parente453b7726d7db2d79831d769485d3ea507bbe995 (diff)
sg_sampler_type renaming fixes
Diffstat (limited to 'util/sokol_fontstash.h')
-rw-r--r--util/sokol_fontstash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sokol_fontstash.h b/util/sokol_fontstash.h
index 9719e380..46950e45 100644
--- a/util/sokol_fontstash.h
+++ b/util/sokol_fontstash.h
@@ -1663,7 +1663,7 @@ static int _sfons_render_create(void* user_ptr, int width, int height) {
shd_desc.fs.images[0].image_type = SG_IMAGETYPE_2D;
shd_desc.fs.images[0].sample_type = SG_IMAGESAMPLETYPE_FLOAT;
shd_desc.fs.samplers[0].used = true;
- shd_desc.fs.samplers[0].sampler_type = SG_SAMPLERTYPE_SAMPLE;
+ shd_desc.fs.samplers[0].sampler_type = SG_SAMPLERTYPE_FILTERING;
shd_desc.fs.image_sampler_pairs[0].used = true;
shd_desc.fs.image_sampler_pairs[0].glsl_name = "tex_smp";
shd_desc.fs.image_sampler_pairs[0].image_slot = 0;