diff src/video/x11/SDL_x11dyn.h @ 4604:d7535d7a40ea

Integrate XFixes and XDamage into the build system.
author Sunny Sachanandani <sunnysachanandani@gmail.com>
date Mon, 19 Jul 2010 20:05:53 +0530
parents cfea5b007bc7
children 227d81a4b66c
line wrap: on
line diff
--- a/src/video/x11/SDL_x11dyn.h	Mon Jul 19 18:57:02 2010 +0530
+++ b/src/video/x11/SDL_x11dyn.h	Mon Jul 19 20:05:53 2010 +0530
@@ -56,6 +56,14 @@
 #include <X11/extensions/Xrender.h>
 #endif
 
+#if SDL_VIDEO_DRIVER_X11_XDAMAGE
+#include <X11/extensions/Xdamage.h>
+#endif
+
+#if SDL_VIDEO_DRIVER_X11_XFIXES
+#include <X11/extensions/Xfixes.h>
+#endif
+
 /*
  * When using the "dynamic X11" functionality, we duplicate all the Xlib
  *  symbols that would be referenced by SDL inside of SDL itself.