From 9e9ad8d5eb55a39d17c79e5342c8712a8bdd076d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 9 Mar 2020 16:19:07 +0100 Subject: [PATCH] (video_thread_wrapper) Remove unused CMD_POKE_SET_OSD_MSG --- gfx/video_thread_wrapper.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/gfx/video_thread_wrapper.c b/gfx/video_thread_wrapper.c index 98b046dfba..6f1dd1f4a6 100644 --- a/gfx/video_thread_wrapper.c +++ b/gfx/video_thread_wrapper.c @@ -54,7 +54,6 @@ enum thread_cmd CMD_POKE_GET_FBO_STATE, CMD_POKE_SET_ASPECT_RATIO, - CMD_POKE_SET_OSD_MSG, CMD_FONT_INIT, CMD_CUSTOM_COMMAND, @@ -508,21 +507,6 @@ static bool video_thread_handle_packet( video_thread_reply(thr, &pkt); break; - case CMD_POKE_SET_OSD_MSG: - { - video_frame_info_t video_info; - /* TODO/FIXME - not thread-safe - should get - * rid of this */ - video_driver_build_info(&video_info); - if (thr->poke && thr->poke->set_osd_msg) - thr->poke->set_osd_msg(thr->driver_data, - &video_info, - pkt.data.osd_message.msg, - &pkt.data.osd_message.params, NULL); - } - video_thread_reply(thr, &pkt); - break; - case CMD_FONT_INIT: if (pkt.data.font_init.method) pkt.data.font_init.return_value =