mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Have sdl2 gfx driver use "nearest" scaling in menus (#15366)
This commit is contained in:
parent
1150e2b8f7
commit
a2285de73e
@ -301,7 +301,7 @@ static void sdl_refresh_input_size(sdl2_video_t *vid, bool menu, bool rgb32,
|
||||
format = rgb32 ? SDL_PIXELFORMAT_ARGB8888 : SDL_PIXELFORMAT_RGB565;
|
||||
|
||||
SDL_SetHintWithPriority(SDL_HINT_RENDER_SCALE_QUALITY,
|
||||
(vid->video.smooth || menu) ? "linear" : "nearest",
|
||||
(menu ? "nearest" : (vid->video.smooth ? "linear" : "nearest")),
|
||||
SDL_HINT_OVERRIDE);
|
||||
|
||||
target->tex = SDL_CreateTexture(vid->renderer, format,
|
||||
|
Loading…
x
Reference in New Issue
Block a user