From 3ae7e9f8df834b30f4ce34e1597128178232ba5d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 29 May 2020 06:20:16 +0200 Subject: [PATCH] Update TODO/FIXMEs --- gfx/font_driver.c | 1 + gfx/gfx_animation.c | 4 +++- gfx/video_crt_switch.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gfx/font_driver.c b/gfx/font_driver.c index 7200875142..08d468b46c 100644 --- a/gfx/font_driver.c +++ b/gfx/font_driver.c @@ -45,6 +45,7 @@ static const font_renderer_driver_t *font_backends[] = { NULL }; +/* TODO/FIXME - global */ static void *video_font_driver = NULL; int font_renderer_create_default( diff --git a/gfx/gfx_animation.c b/gfx/gfx_animation.c index daa589eb74..5f8ba512a6 100644 --- a/gfx/gfx_animation.c +++ b/gfx/gfx_animation.c @@ -84,7 +84,9 @@ typedef struct gfx_animation gfx_animation_t; static const float ticker_pixel_period = (1.0f / 60.0f) * 1000.0f; static const char ticker_spacer_default[] = TICKER_SPACER_DEFAULT; - + +/* TODO/FIXME - global that gets referenced outside, + * needs to be refactored */ static gfx_animation_t anim; /* Forward declarations */ diff --git a/gfx/video_crt_switch.c b/gfx/video_crt_switch.c index 5e1352b424..1bd1da35e0 100644 --- a/gfx/video_crt_switch.c +++ b/gfx/video_crt_switch.c @@ -51,8 +51,8 @@ typedef struct videocrt_switch double p_clock; } videocrt_switch_t; +/* TODO/FIXME - globals */ static videocrt_switch_t crt_switch_st; - static bool first_run = true; static void crt_check_first_run(void)