only do MwLibraryInit wayland/cairo if USE_WAYLAND
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
c2bb601311
commit
82b68c9c53
1 changed files with 2 additions and 0 deletions
|
|
@ -1060,11 +1060,13 @@ int MwLibraryInit(void) {
|
||||||
NULL};
|
NULL};
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
#ifdef USE_WAYLAND
|
||||||
if(MwWaylandCairoOnly) {
|
if(MwWaylandCairoOnly) {
|
||||||
calls[0] = MwLLCairoCallInit;
|
calls[0] = MwLLCairoCallInit;
|
||||||
} else {
|
} else {
|
||||||
calls[0] = MwLLWaylandCallInit;
|
calls[0] = MwLLWaylandCallInit;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
MwColorTableInit();
|
MwColorTableInit();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue