Fixed a minor bug with texture blending.
authorSunny Sachanandani <sunnysachanandani@gmail.com>
Sat, 17 Jul 2010 15:53:29 +0530
changeset 4595 73eeadf7ed8e
parent 4594 f28c23cc1a08
child 4596 dc26c37ad70e
Fixed a minor bug with texture blending.
src/video/x11/SDL_x11render.c
--- 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);