From 88a8212c807765ba7f2eb621495bd765bf0dfd6c Mon Sep 17 00:00:00 2001 From: speedie Date: Mon, 12 Jun 2023 04:24:35 +0200 Subject: [PATCH] fix !USEIMAGE usage of undeclared functions --- libs/draw.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/draw.c b/libs/draw.c index dbbd467..b553a02 100644 --- a/libs/draw.c +++ b/libs/draw.c @@ -534,7 +534,9 @@ void drawmenu(void) { wl_surface_damage(state.surface, 0, 0, state.width, state.height); wl_surface_commit(state.surface); +#if USEIMAGE drawimage(); +#endif } else { drawmenu_layer(); } @@ -609,7 +611,9 @@ void drawmenu_layer(void) { } #if USEX +#if USEIMAGE drawimage(); +#endif drw_map(drw, win, 0, 0, mw, mh); #endif }