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
|
|
@ -2301,10 +2301,16 @@ static void MwLLEndStateChangeImpl(MwLL handle) {
|
|||
|
||||
static int MwLLX11CallInitImpl(void) {
|
||||
xsymtbl.lib_xlib = MwDynamicOpen("libX11.so");
|
||||
if(!xsymtbl.lib_xlib) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
#if USE_XRENDER
|
||||
xsymtbl.lib_xrender = MwDynamicOpen("libXrender.so");
|
||||
#endif
|
||||
if(!xsymtbl.lib_xrender) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
#define X11_FUNC_LOAD(x) x = MwDynamicSymbol(xsymtbl.lib_xlib, #x)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue