allow x11 backend to be disabled (on by default) (i doubt people will do this)
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
2e2a97e4a8
commit
d4f6ca14e2
5 changed files with 31 additions and 5 deletions
15
src/core.c
15
src/core.c
|
|
@ -794,6 +794,21 @@ int MwLibraryInit(void) {
|
|||
if(calls[i]() == 0) return 0;
|
||||
}
|
||||
|
||||
printf("[WARNING] No suitable GUI backend found! Enabled:"
|
||||
#ifdef USE_COCOA
|
||||
" Cocoa"
|
||||
#endif
|
||||
#ifdef USE_WAYLAND
|
||||
" Wayland"
|
||||
#endif
|
||||
#ifdef USE_X11
|
||||
" X11"
|
||||
#endif
|
||||
#ifdef USE_GDI
|
||||
" GDI"
|
||||
#endif
|
||||
"\n");
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue