mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Refactor video_frame
This commit is contained in:
parent
f1bf2fab85
commit
9446fa788c
@ -330,10 +330,13 @@ static void video_frame(const void *data, unsigned width, unsigned height, size_
|
||||
recording_dump_frame(g_extern.filter.buffer, owidth, oheight, opitch);
|
||||
#endif
|
||||
|
||||
if (!video_frame_func(g_extern.filter.buffer, owidth, oheight, opitch, msg))
|
||||
g_extern.video_active = false;
|
||||
data = g_extern.filter.buffer;
|
||||
width = owidth;
|
||||
height = oheight;
|
||||
pitch = opitch;
|
||||
}
|
||||
else if (!video_frame_func(data, width, height, pitch, msg))
|
||||
|
||||
if (!video_frame_func(data, width, height, pitch, msg))
|
||||
g_extern.video_active = false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user