From cfc1a802d5c49dce05fb38770768d641691eb4cc Mon Sep 17 00:00:00 2001 From: Ed_ Date: Mon, 9 Sep 2024 13:26:59 -0400 Subject: [PATCH] fix for changes to sokol_gfx.Filter.NONE to NEAREST --- code/sectr/font/render_sokol.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/sectr/font/render_sokol.odin b/code/sectr/font/render_sokol.odin index 46d8f99..06642e1 100644 --- a/code/sectr/font/render_sokol.odin +++ b/code/sectr/font/render_sokol.odin @@ -169,7 +169,7 @@ font_provider_setup_sokol_gfx_objects :: proc( ctx : ^VE_RenderData, ve_ctx : ve glyph_rt_sampler = sokol_gfx.make_sampler( SamplerDescription { 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, @@ -307,7 +307,7 @@ font_provider_setup_sokol_gfx_objects :: proc( ctx : ^VE_RenderData, ve_ctx : ve atlas_rt_sampler = sokol_gfx.make_sampler( SamplerDescription { 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,