From 98ee07eaa05e1da05a76b7d8f16b0de3bc3ce01b Mon Sep 17 00:00:00 2001 From: LibretroAdmin Date: Tue, 6 Sep 2022 01:57:08 +0200 Subject: [PATCH] (MaterialUI) Silence warning --- menu/drivers/materialui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/drivers/materialui.c b/menu/drivers/materialui.c index cffbc217c7..0c91720dfc 100644 --- a/menu/drivers/materialui.c +++ b/menu/drivers/materialui.c @@ -4061,7 +4061,7 @@ static void materialui_render_menu_entry_default( if (icon_texture) { /* draw the icon ourselves - the draw_icon below tints it to match the theme */ - const float color_white[16] = { + static float color_white[16] = { 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f,