From f46ee78c7689a9fcc01b65b266d5a33c2bc21b83 Mon Sep 17 00:00:00 2001 From: Themaister Date: Thu, 20 Oct 2011 23:28:46 +0200 Subject: [PATCH] Apply a hack and push the frame several times when changing fullscreen. --- ssnes.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ssnes.c b/ssnes.c index 0e54d07610..51e03d8d53 100644 --- a/ssnes.c +++ b/ssnes.c @@ -200,9 +200,13 @@ static void video_cached_frame(void) // It would be really stupid at any rate ... if (g_extern.frame_cache.data) { - video_frame(g_extern.frame_cache.data, - g_extern.frame_cache.width, - g_extern.frame_cache.height); + // Push the pipeline through. A hack sort of. + for (unsigned i = 0; i < 3; i++) + { + video_frame(g_extern.frame_cache.data, + g_extern.frame_cache.width, + g_extern.frame_cache.height); + } } #ifdef HAVE_FFMPEG