diff src/video/x11/SDL_x11dyn.h @ 4570:36fad921c97f

Adding a few #defines for Xrender support.
author Sunny Sachanandani <sunnysachanandani@gmail.com>
date Wed, 19 May 2010 18:58:28 +0530
parents f7b03b6838cb
children cfea5b007bc7
line wrap: on
line diff
--- a/src/video/x11/SDL_x11dyn.h	Sun May 09 19:55:28 2010 -0700
+++ b/src/video/x11/SDL_x11dyn.h	Wed May 19 18:58:28 2010 +0530
@@ -52,6 +52,10 @@
 #include <X11/extensions/XInput.h>
 #endif
 
+#if SDL_VIDEO_DRIVER_X11_XRENDER
+#include <X11/extensions/render.h>
+#endif
+
 /*
  * When using the "dynamic X11" functionality, we duplicate all the Xlib
  *  symbols that would be referenced by SDL inside of SDL itself.