Merge pull request #4597 from nadenislamarre/batocera-sdl2-blink

sdl2 renderer: remove the random flashing black borders
This commit is contained in:
Twinaphex 2017-02-08 22:57:57 +01:00 committed by GitHub
commit bd40dd3ec2

View File

@ -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");