Adding a few #defines for Xrender support.
This commit is contained in:
parent
d12afdaedb
commit
4ee62ed9e7
3 changed files with 8 additions and 0 deletions
|
@ -278,6 +278,7 @@
|
||||||
#undef SDL_VIDEO_DRIVER_X11_XINPUT
|
#undef SDL_VIDEO_DRIVER_X11_XINPUT
|
||||||
#undef SDL_VIDEO_DRIVER_X11_SCRNSAVER
|
#undef SDL_VIDEO_DRIVER_X11_SCRNSAVER
|
||||||
#undef SDL_VIDEO_DRIVER_X11_XV
|
#undef SDL_VIDEO_DRIVER_X11_XV
|
||||||
|
#undef SDL_VIDEO_DRIVER_X11_XRENDER
|
||||||
|
|
||||||
#undef SDL_VIDEO_RENDER_D3D
|
#undef SDL_VIDEO_RENDER_D3D
|
||||||
#undef SDL_VIDEO_RENDER_GDI
|
#undef SDL_VIDEO_RENDER_GDI
|
||||||
|
|
|
@ -52,6 +52,10 @@
|
||||||
#include <X11/extensions/XInput.h>
|
#include <X11/extensions/XInput.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if SDL_VIDEO_DRIVER_X11_XRENDER
|
||||||
|
#include <X11/extensions/render.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* When using the "dynamic X11" functionality, we duplicate all the Xlib
|
* When using the "dynamic X11" functionality, we duplicate all the Xlib
|
||||||
* symbols that would be referenced by SDL inside of SDL itself.
|
* symbols that would be referenced by SDL inside of SDL itself.
|
||||||
|
|
|
@ -45,6 +45,9 @@
|
||||||
#if SDL_VIDEO_DRIVER_X11_SCRNSAVER
|
#if SDL_VIDEO_DRIVER_X11_SCRNSAVER
|
||||||
#include <X11/extensions/scrnsaver.h>
|
#include <X11/extensions/scrnsaver.h>
|
||||||
#endif
|
#endif
|
||||||
|
#if SDL_VIDEO_DRIVER_X11_XRENDER
|
||||||
|
#include <X11/extensions/render.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "SDL_x11dyn.h"
|
#include "SDL_x11dyn.h"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue