Fixed bug where if X11 is not dynamically loaded, then we think none of the X11 modules are available.
This commit is contained in:
parent
6b7a2ee71b
commit
72ec6bcbe2
1 changed files with 6 additions and 0 deletions
|
@ -211,6 +211,12 @@ SDL_X11_LoadSymbols(void)
|
|||
}
|
||||
}
|
||||
#else
|
||||
#define SDL_X11_MODULE(modname) SDL_X11_HAVE_##modname = 1; /* default yes */
|
||||
#define SDL_X11_SYM(a,fn,x,y,z)
|
||||
#include "SDL_x11sym.h"
|
||||
#undef SDL_X11_MODULE
|
||||
#undef SDL_X11_SYM
|
||||
|
||||
#ifdef X_HAVE_UTF8_STRING
|
||||
pXCreateIC = XCreateIC;
|
||||
pXGetICValues = XGetICValues;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue