comparison src/video/x11/SDL_x11video.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 0b3a509c53a0
comparison
equal deleted inserted replaced
4579:d490d63bcc5e 4580:cfea5b007bc7
44 #endif 44 #endif
45 #if SDL_VIDEO_DRIVER_X11_SCRNSAVER 45 #if SDL_VIDEO_DRIVER_X11_SCRNSAVER
46 #include <X11/extensions/scrnsaver.h> 46 #include <X11/extensions/scrnsaver.h>
47 #endif 47 #endif
48 #if SDL_VIDEO_DRIVER_X11_XRENDER 48 #if SDL_VIDEO_DRIVER_X11_XRENDER
49 #include <X11/extensions/render.h> 49 #include <X11/extensions/Xrender.h>
50 #endif 50 #endif
51
52 #include "SDL_x11dyn.h" 51 #include "SDL_x11dyn.h"
53 52
54 #include "SDL_x11events.h" 53 #include "SDL_x11events.h"
55 #include "SDL_x11gamma.h" 54 #include "SDL_x11gamma.h"
56 #include "SDL_x11keyboard.h" 55 #include "SDL_x11keyboard.h"