Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11dyn.h @ 1589:34cca785be57
Xrandr support in the X11 target.
Fixes Bugzilla #109, and as a bonus, Bugzilla #145, too!
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 22 Mar 2006 11:13:58 +0000 |
parents | 3ba88cb7eb1b |
children | ecba4bbaf9c2 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11dyn.h Wed Mar 22 09:18:10 2006 +0000 +++ b/src/video/x11/SDL_x11dyn.h Wed Mar 22 11:13:58 2006 +0000 @@ -38,6 +38,10 @@ #include <X11/extensions/XShm.h> #endif +#if SDL_VIDEO_DRIVER_X11_XRANDR +#include <X11/extensions/Xrandr.h> +#endif + /* * When using the "dynamic X11" functionality, we duplicate all the Xlib * symbols that would be referenced by SDL inside of SDL itself.