diff 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
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.h	Mon May 31 17:04:20 2010 +0530
+++ b/src/video/x11/SDL_x11video.h	Wed Jun 02 09:01:37 2010 +0530
@@ -46,9 +46,8 @@
 #include <X11/extensions/scrnsaver.h>
 #endif
 #if SDL_VIDEO_DRIVER_X11_XRENDER
-#include <X11/extensions/render.h>
+#include <X11/extensions/Xrender.h>
 #endif
-
 #include "SDL_x11dyn.h"
 
 #include "SDL_x11events.h"