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 =