diff src/video/x11/SDL_x11render.c @ 4595:73eeadf7ed8e

Fixed a minor bug with texture blending.
author Sunny Sachanandani <sunnysachanandani@gmail.com>
date Sat, 17 Jul 2010 15:53:29 +0530
parents f28c23cc1a08
children dc26c37ad70e
line wrap: on
line diff
--- a/src/video/x11/SDL_x11render.c	Sat Jul 17 15:41:34 2010 +0530
+++ b/src/video/x11/SDL_x11render.c	Sat Jul 17 15:53:29 2010 +0530
@@ -1452,7 +1452,7 @@
             XRenderSetPictureTransform(data->display, texturedata->picture, &xform);
 
             XRenderComposite(data->display, texturedata->blend_op,
-                             texturedata->picture, None, data->drawable_pict,
+                             texturedata->picture, pict, data->drawable_pict,
                              0, 0, 0, 0, dstrect->x, dstrect->y,
                              dstrect->w, dstrect->h);