mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-04 20:05:05 +00:00
GUI: compile with no GUI
This commit is contained in:
parent
af56e3b9dd
commit
5ffccc5019
1 changed files with 4 additions and 1 deletions
|
@ -308,10 +308,13 @@ int main(int argc, char** argv) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_GUI
|
||||||
g.bindEngine(&e);
|
g.bindEngine(&e);
|
||||||
g.init();
|
g.init();
|
||||||
|
|
||||||
g.loop();
|
g.loop();
|
||||||
|
#else
|
||||||
|
logE("GUI requested but GUI not compiled!\n");
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue