Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed bug where if X11 is not dynamically loaded, then we think none …
Browse files Browse the repository at this point in the history
…of the X11 modules are available.
  • Loading branch information
slouken committed Feb 19, 2013
1 parent 81f7440 commit c8405f1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/video/x11/SDL_x11dyn.c
Expand Up @@ -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;
Expand Down

0 comments on commit c8405f1

Please sign in to comment.