mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
(video thread wrapper) Add TODO/FIXME notes
This commit is contained in:
parent
62bd4960e1
commit
f581260daa
@ -511,6 +511,8 @@ static bool video_thread_handle_packet(
|
|||||||
case CMD_POKE_SET_OSD_MSG:
|
case CMD_POKE_SET_OSD_MSG:
|
||||||
{
|
{
|
||||||
video_frame_info_t video_info;
|
video_frame_info_t video_info;
|
||||||
|
/* TODO/FIXME - not thread-safe - should get
|
||||||
|
* rid of this */
|
||||||
video_driver_build_info(&video_info);
|
video_driver_build_info(&video_info);
|
||||||
if (thr->poke && thr->poke->set_osd_msg)
|
if (thr->poke && thr->poke->set_osd_msg)
|
||||||
thr->poke->set_osd_msg(thr->driver_data,
|
thr->poke->set_osd_msg(thr->driver_data,
|
||||||
@ -601,6 +603,8 @@ static void video_thread_loop(void *data)
|
|||||||
if (thr->driver && thr->driver->frame)
|
if (thr->driver && thr->driver->frame)
|
||||||
{
|
{
|
||||||
video_frame_info_t video_info;
|
video_frame_info_t video_info;
|
||||||
|
/* TODO/FIXME - not thread-safe - should get
|
||||||
|
* rid of this */
|
||||||
video_driver_build_info(&video_info);
|
video_driver_build_info(&video_info);
|
||||||
|
|
||||||
ret = thr->driver->frame(thr->driver_data,
|
ret = thr->driver->frame(thr->driver_data,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user