mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
change texture filtering to nearest
This commit is contained in:
parent
5f00e6ee56
commit
88dfabf92f
@ -671,7 +671,7 @@ static struct zr_user_font font_bake_and_upload(
|
||||
ti.height = (GLsizei)img_height;
|
||||
|
||||
video_driver_texture_load(&ti,
|
||||
TEXTURE_FILTER_MIPMAP_LINEAR, (uintptr_t*)&dev->font_tex);
|
||||
TEXTURE_FILTER_MIPMAP_NEAREST, (uintptr_t*)&dev->font_tex);
|
||||
|
||||
free(ttf_blob);
|
||||
free(tmp);
|
||||
@ -845,7 +845,6 @@ static void zrmenu_init(int width, int height)
|
||||
fill_pathname_join(zr_font_path, zr_font_path,
|
||||
"DroidSans.ttf", sizeof(zr_font_path));
|
||||
|
||||
glViewport(0, 0, width, height);
|
||||
zr_alloc.userdata.ptr = NULL;
|
||||
zr_alloc.alloc = zrmenu_mem_alloc;
|
||||
zr_alloc.free = zrmenu_mem_free;
|
||||
|
Loading…
x
Reference in New Issue
Block a user