mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-14 14:29:24 +00:00
video_driver_cached_frame - don't go through function pointer for
frame_cb - call video_driver_frame directly
This commit is contained in:
parent
74e4b05f5a
commit
a6a6597f2d
@ -9146,7 +9146,8 @@ bool video_driver_cached_frame(void)
|
||||
/* Cannot allow recording when pushing duped frames. */
|
||||
recording_data = NULL;
|
||||
|
||||
retro_ctx.frame_cb(
|
||||
if (current_core.inited)
|
||||
video_driver_frame(
|
||||
(frame_cache_data != RETRO_HW_FRAME_BUFFER_VALID)
|
||||
? frame_cache_data : NULL,
|
||||
frame_cache_width,
|
||||
|
Loading…
x
Reference in New Issue
Block a user