diff --git a/gfx/gfx_common.c b/gfx/gfx_common.c index 3ffaea0944..f6c338f7c6 100644 --- a/gfx/gfx_common.c +++ b/gfx/gfx_common.c @@ -83,7 +83,7 @@ static void gfx_dwm_shutdown(void) static void gfx_init_dwm(void) { static bool inited; - } + if (inited) return; inited = true;