aboutsummaryrefslogtreecommitdiff
path: root/util/sokol_gl.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_gl.h
parente453b7726d7db2d79831d769485d3ea507bbe995 (diff)
sg_sampler_type renaming fixes
Diffstat (limited to 'util/sokol_gl.h')
-rw-r--r--util/sokol_gl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sokol_gl.h b/util/sokol_gl.h
index f17da478..7fe1d936 100644
--- a/util/sokol_gl.h
+++ b/util/sokol_gl.h
@@ -3344,7 +3344,7 @@ static void _sgl_setup_common(void) {
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].image_slot = 0;
shd_desc.fs.image_sampler_pairs[0].sampler_slot = 0;