fix !USEIMAGE usage of undeclared functions
This commit is contained in:
parent
6421126f67
commit
88a8212c80
|
@ -534,7 +534,9 @@ void drawmenu(void) {
|
||||||
wl_surface_damage(state.surface, 0, 0, state.width, state.height);
|
wl_surface_damage(state.surface, 0, 0, state.width, state.height);
|
||||||
wl_surface_commit(state.surface);
|
wl_surface_commit(state.surface);
|
||||||
|
|
||||||
|
#if USEIMAGE
|
||||||
drawimage();
|
drawimage();
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
drawmenu_layer();
|
drawmenu_layer();
|
||||||
}
|
}
|
||||||
|
@ -609,7 +611,9 @@ void drawmenu_layer(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#if USEX
|
#if USEX
|
||||||
|
#if USEIMAGE
|
||||||
drawimage();
|
drawimage();
|
||||||
|
#endif
|
||||||
drw_map(drw, win, 0, 0, mw, mh);
|
drw_map(drw, win, 0, 0, mw, mh);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue