mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 10:20:51 +00:00
Merge pull request #4597 from nadenislamarre/batocera-sdl2-blink
sdl2 renderer: remove the random flashing black borders
This commit is contained in:
commit
bd40dd3ec2
@ -505,6 +505,7 @@ static bool sdl2_gfx_frame(void *data, const void *frame, unsigned width,
|
||||
{
|
||||
static struct retro_perf_counter sdl_copy_frame = {0};
|
||||
|
||||
SDL_RenderClear(vid->renderer);
|
||||
sdl_refresh_input_size(vid, false, vid->video.rgb32, width, height, pitch);
|
||||
|
||||
performance_counter_init(sdl_copy_frame, "sdl_copy_frame");
|
||||
|
Loading…
x
Reference in New Issue
Block a user