From bac1f1fd516ff0c8215db4da167fcd9a461ab41f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 11 Sep 2020 13:48:23 +0200 Subject: [PATCH] Cleanup --- gfx/gfx_display.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/gfx/gfx_display.c b/gfx/gfx_display.c index 2ecc1c88cb..f8ec2f1e44 100644 --- a/gfx/gfx_display.c +++ b/gfx/gfx_display.c @@ -37,13 +37,6 @@ * with Ozone driver metrics */ #define OZONE_SIDEBAR_WIDTH 408 -static float osk_dark[16] = { - 0.00, 0.00, 0.00, 0.85, - 0.00, 0.00, 0.00, 0.85, - 0.00, 0.00, 0.00, 0.85, - 0.00, 0.00, 0.00, 0.85, -}; - /* TODO/FIXME - global that gets referenced outside, * needs to be refactored */ uintptr_t gfx_display_white_texture; @@ -1692,6 +1685,12 @@ void gfx_display_draw_keyboard( 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, }; + static float osk_dark[16] = { + 0.00, 0.00, 0.00, 0.85, + 0.00, 0.00, 0.00, 0.85, + 0.00, 0.00, 0.00, 0.85, + 0.00, 0.00, 0.00, 0.85, + }; gfx_display_draw_quad( userdata,