mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 15:58:04 -05:00
Adding a few #defines for Xrender support.
This commit is contained in:
parent
9a5b4a1a84
commit
7551aa6dd9
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user