# HG changeset patch # User Sunny Sachanandani # Date 1280805800 -19800 # Node ID 066ce836b80edfb6578facae2d6a836303c60181 # Parent 0a3bfd46c4dbd7b2ae8f528dcca6435013161cf3 Fixed the code to use the correct scaling transformation matrix with XRender. diff -r 0a3bfd46c4db -r 066ce836b80e src/video/x11/SDL_x11render.c --- a/src/video/x11/SDL_x11render.c Tue Aug 03 08:05:53 2010 +0530 +++ b/src/video/x11/SDL_x11render.c Tue Aug 03 08:53:20 2010 +0530 @@ -1938,7 +1938,7 @@ XTransform xform = {{ {XDoubleToFixed(xscale), XDoubleToFixed(0), XDoubleToFixed(0)}, {XDoubleToFixed(0), XDoubleToFixed(yscale), XDoubleToFixed(0)}, - {XDoubleToFixed(0), XDoubleToFixed(0), XDoubleToFixed(xscale * yscale)}}}; + {XDoubleToFixed(0), XDoubleToFixed(0), XDoubleToFixed(1)}}}; XRenderSetPictureTransform(data->display, src, &xform); /* Black magic follows. */