comparison src/video/x11/SDL_x11dyn.h @ 4580:cfea5b007bc7

Fix the rendering color channels to be premultiplied with the alpha channel as thats what Xrender expects. Small fixes in X11_CreateTexture. Add some new functions in SDL_x11sym.h as well as support for Xrender.
author Sunny Sachanandani <sunnysachanandani@gmail.com>
date Wed, 02 Jun 2010 09:01:37 +0530
parents 36fad921c97f
children d7535d7a40ea
comparison
equal deleted inserted replaced
4579:d490d63bcc5e 4580:cfea5b007bc7
51 #if SDL_VIDEO_DRIVER_X11_XINPUT 51 #if SDL_VIDEO_DRIVER_X11_XINPUT
52 #include <X11/extensions/XInput.h> 52 #include <X11/extensions/XInput.h>
53 #endif 53 #endif
54 54
55 #if SDL_VIDEO_DRIVER_X11_XRENDER 55 #if SDL_VIDEO_DRIVER_X11_XRENDER
56 #include <X11/extensions/render.h> 56 #include <X11/extensions/Xrender.h>
57 #endif 57 #endif
58 58
59 /* 59 /*
60 * When using the "dynamic X11" functionality, we duplicate all the Xlib 60 * When using the "dynamic X11" functionality, we duplicate all the Xlib
61 * symbols that would be referenced by SDL inside of SDL itself. 61 * symbols that would be referenced by SDL inside of SDL itself.