Mercurial > molko
diff libadventure/adventure/panic_state.c @ 133:c46f80820b42
core: revamp debug using theme
While here remove unneeded assets and move there where they belong.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 11 Oct 2020 14:41:31 +0200 |
parents | 789b23e01f52 |
children | 197374e9f0b2 |
line wrap: on
line diff
--- a/libadventure/adventure/panic_state.c Sun Oct 11 14:23:10 2020 +0200 +++ b/libadventure/adventure/panic_state.c Sun Oct 11 14:41:31 2020 +0200 @@ -31,7 +31,7 @@ #include <core/window.h> #include <core/map_state.h> -#include <core/assets/fonts/Lato-Regular.h> +#include <adventure/assets/fonts/lato.h> #include "panic_state.h" @@ -222,6 +222,6 @@ * useful information to the screen so as last resort print them * on the console. */ - if (!(font_openmem(&data.font, Lato_Regular, sizeof (Lato_Regular), SIZE))) + if (!(font_openmem(&data.font, lato, sizeof (lato), SIZE))) die("%s", error()); }