From eea139ca309a02a6437df60131149f7995143f8c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 19 Jan 2017 16:03:59 +0100 Subject: [PATCH] Remove frame_count variable --- gfx/video_driver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 554342fb98..d23ddcc643 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -2117,7 +2117,6 @@ void video_driver_frame(const void *data, unsigned width, unsigned output_width = 0; unsigned output_height = 0; unsigned output_pitch = 0; - uint64_t frame_count = 0; const char *msg = NULL; if (!video_driver_active) @@ -2187,7 +2186,7 @@ void video_driver_frame(const void *data, unsigned width, if (!current_video || !current_video->frame( video_driver_data, data, width, height, - frame_count, + video_info.frame_count, pitch, video_driver_msg, &video_info)) video_driver_active = false;