Apply a hack and push the frame several times when changing fullscreen.

This commit is contained in:
Themaister 2011-10-20 23:28:46 +02:00
parent 5d1d188231
commit f46ee78c76

10
ssnes.c
View File

@ -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