diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-08-17 14:14:27 (GMT) |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-08-17 14:14:27 (GMT) |
commit | 398ef0ca2962187703dcc3171fc265c3eb7bec97 (patch) | |
tree | c32dd6011df7bfcc1908ef092c4fe956512c59e3 | |
parent | 0030b1a21cbf4853e27d0f4e0b82c205a3d1add8 (diff) | |
download | Qt-398ef0ca2962187703dcc3171fc265c3eb7bec97.zip Qt-398ef0ca2962187703dcc3171fc265c3eb7bec97.tar.gz Qt-398ef0ca2962187703dcc3171fc265c3eb7bec97.tar.bz2 |
Fix nasty copy-paste bug in fetchTransformedBilinear()
Introduced in commit 0d7e68391
Reviewed-by: Samuel
-rw-r--r-- | src/gui/painting/qdrawhelper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qdrawhelper.cpp b/src/gui/painting/qdrawhelper.cpp index eb92d3f..054f96f 100644 --- a/src/gui/painting/qdrawhelper.cpp +++ b/src/gui/painting/qdrawhelper.cpp @@ -856,7 +856,7 @@ const uint * QT_FASTCALL fetchTransformedBilinear(uint *buffer, const Operator * while (b < end) { int x1 = (fx >> 16); int x2; - fetchTransformedBilinear_pixelBounds<blendType>(image_height, image_x1, image_x2, x1, x2); + fetchTransformedBilinear_pixelBounds<blendType>(image_width, image_x1, image_x2, x1, x2); uint tl = fetch(s1, x1, data->texture.colorTable); uint tr = fetch(s1, x2, data->texture.colorTable); uint bl = fetch(s2, x1, data->texture.colorTable); @@ -883,7 +883,7 @@ const uint * QT_FASTCALL fetchTransformedBilinear(uint *buffer, const Operator * while (b < end) { int x1 = (fx >> 16); int x2; - fetchTransformedBilinear_pixelBounds<blendType>(image_height, image_x1, image_x2, x1, x2); + fetchTransformedBilinear_pixelBounds<blendType>(image_width, image_x1, image_x2, x1, x2); uint tl = fetch(s1, x1, data->texture.colorTable); uint tr = fetch(s1, x2, data->texture.colorTable); uint bl = fetch(s2, x1, data->texture.colorTable); |