mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
(Android) Prevent crash when Android device is minimized and you go back to
the app
This commit is contained in:
parent
46b62b4a63
commit
e4ef930b47
@ -21926,10 +21926,11 @@ static void video_driver_frame(const void *data, unsigned width,
|
||||
#endif
|
||||
}
|
||||
|
||||
video_driver_active = current_video->frame(
|
||||
video_driver_data, data, width, height,
|
||||
video_driver_frame_count,
|
||||
(unsigned)pitch, video_driver_msg, &video_info);
|
||||
if (current_video && current_video->frame)
|
||||
video_driver_active = current_video->frame(
|
||||
video_driver_data, data, width, height,
|
||||
video_driver_frame_count,
|
||||
(unsigned)pitch, video_driver_msg, &video_info);
|
||||
|
||||
video_driver_frame_count++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user