diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 6a2a555a3a..6c7ad00078 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -1816,8 +1816,6 @@ static bool video_pixel_frame_scale(const void *data, void video_driver_frame(const void *data, unsigned width, unsigned height, size_t pitch) { - /* Last message given to the video driver */ - static char video_driver_current_msg[256]; unsigned output_width = 0; unsigned output_height = 0; unsigned output_pitch = 0; @@ -1862,14 +1860,9 @@ void video_driver_frame(const void *data, unsigned width, msg = rarch_main_msg_queue_pull(); - *video_driver_current_msg = 0; - - if (msg) - strlcpy(video_driver_current_msg, msg, sizeof(video_driver_current_msg)); - if (!current_video || !current_video->frame( video_driver_data, data, width, height, video_driver_frame_count, - pitch, video_driver_current_msg)) + pitch, msg)) video_driver_ctl(RARCH_DISPLAY_CTL_UNSET_ACTIVE, NULL); video_driver_frame_count++;