From a6ae0b8fb977bd44eaeecbb750ab5ebee806f5ca Mon Sep 17 00:00:00 2001 From: Ed_ Date: Mon, 9 Sep 2024 13:21:55 -0400 Subject: [PATCH] Change to sampler mipmap_filter values based on sokol_gfx Filter definition update. --- backend/sokol/backend_sokol.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/sokol/backend_sokol.odin b/backend/sokol/backend_sokol.odin index 8207b9e..00288c7 100644 --- a/backend/sokol/backend_sokol.odin +++ b/backend/sokol/backend_sokol.odin @@ -164,7 +164,7 @@ setup_gfx_objects :: proc( ctx : ^Context, ve_ctx : ^ve.Context, vert_cap, index glyph_rt_sampler = gfx.make_sampler( Sampler_Description { min_filter = Image_Filter, mag_filter = Image_Filter, - mipmap_filter = Filter.NONE, + mipmap_filter = Filter.NEAREST, wrap_u = .CLAMP_TO_EDGE, wrap_v = .CLAMP_TO_EDGE, min_lod = -1000.0, @@ -302,7 +302,7 @@ setup_gfx_objects :: proc( ctx : ^Context, ve_ctx : ^ve.Context, vert_cap, index atlas_rt_sampler = gfx.make_sampler( Sampler_Description { min_filter = Image_Filter, mag_filter = Image_Filter, - mipmap_filter = Filter.NONE, + mipmap_filter = Filter.NEAREST, wrap_u = .CLAMP_TO_EDGE, wrap_v = .CLAMP_TO_EDGE, min_lod = -1000.0,