Cleanups
This commit is contained in:
parent
f341f70705
commit
89dddaf9f0
|
@ -2343,11 +2343,10 @@ void video_driver_frame(const void *data, unsigned width,
|
||||||
&& msg)
|
&& msg)
|
||||||
strlcpy(video_driver_msg, msg, sizeof(video_driver_msg));
|
strlcpy(video_driver_msg, msg, sizeof(video_driver_msg));
|
||||||
|
|
||||||
if (!current_video || !current_video->frame(
|
video_driver_active = current_video->frame(
|
||||||
video_driver_data, data, width, height,
|
video_driver_data, data, width, height,
|
||||||
video_driver_frame_count,
|
video_driver_frame_count,
|
||||||
(unsigned)pitch, video_driver_msg, &video_info))
|
(unsigned)pitch, video_driver_msg, &video_info);
|
||||||
video_driver_active = false;
|
|
||||||
|
|
||||||
video_driver_frame_count++;
|
video_driver_frame_count++;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue