mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 14:59:37 +00:00
Apply a hack and push the frame several times when changing fullscreen.
This commit is contained in:
parent
5d1d188231
commit
f46ee78c76
10
ssnes.c
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user