(video_thread_wrapper) Remove unused CMD_POKE_SET_OSD_MSG

This commit is contained in:
twinaphex 2020-03-09 16:19:07 +01:00
parent b7da58b40b
commit 9e9ad8d5eb

View File

@ -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 =