Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Adding a few #defines for Xrender support.

  • Loading branch information
sunnyps committed May 19, 2010
1 parent 1b0384f commit 0a4a7759f06c5491a1f99129527af572d0ba45bd
Showing with 8 additions and 0 deletions.
  1. +1 −0 include/SDL_config.h.in
  2. +4 −0 src/video/x11/SDL_x11dyn.h
  3. +3 −0 src/video/x11/SDL_x11video.h
@@ -278,6 +278,7 @@
#undef SDL_VIDEO_DRIVER_X11_XINPUT
#undef SDL_VIDEO_DRIVER_X11_SCRNSAVER
#undef SDL_VIDEO_DRIVER_X11_XV
#undef SDL_VIDEO_DRIVER_X11_XRENDER

#undef SDL_VIDEO_RENDER_D3D
#undef SDL_VIDEO_RENDER_GDI
@@ -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.
@@ -45,6 +45,9 @@
#if SDL_VIDEO_DRIVER_X11_SCRNSAVER
#include <X11/extensions/scrnsaver.h>
#endif
#if SDL_VIDEO_DRIVER_X11_XRENDER
#include <X11/extensions/render.h>
#endif

#include "SDL_x11dyn.h"

0 comments on commit 0a4a775

Please sign in to comment.