mirror of
https://github.com/Ed94/VEFontCache-Odin.git
synced 2026-10-14 02:39:40 -07:00
Change to sampler mipmap_filter values based on sokol_gfx Filter definition update.
This commit is contained in:
1 parent
969175669f
commit
a6ae0b8fb9
1 file changed
+2
-2
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user