Fixed bug where if X11 is not dynamically loaded, then we think none of the X11 modules are available.
authorSam Lantinga <slouken@libsdl.org>
Mon, 18 Feb 2013 16:24:33 -0800
changeset 6898d0159180a95f
parent 6897 865811c9f372
child 6899 f75b1bd8eabc
Fixed bug where if X11 is not dynamically loaded, then we think none of the X11 modules are available.
src/video/x11/SDL_x11dyn.c
     1.1 --- a/src/video/x11/SDL_x11dyn.c	Mon Feb 18 07:59:05 2013 -0800
     1.2 +++ b/src/video/x11/SDL_x11dyn.c	Mon Feb 18 16:24:33 2013 -0800
     1.3 @@ -211,6 +211,12 @@
     1.4          }
     1.5      }
     1.6  #else
     1.7 +#define SDL_X11_MODULE(modname) SDL_X11_HAVE_##modname = 1; /* default yes */
     1.8 +#define SDL_X11_SYM(a,fn,x,y,z)
     1.9 +#include "SDL_x11sym.h"
    1.10 +#undef SDL_X11_MODULE
    1.11 +#undef SDL_X11_SYM
    1.12 +
    1.13  #ifdef X_HAVE_UTF8_STRING
    1.14      pXCreateIC = XCreateIC;
    1.15      pXGetICValues = XGetICValues;