summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwsdrawable.c
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-04-14 13:32:22 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-04-14 13:32:22 (GMT)
commit0cc27cec860f46b1e349c428973cf4ce3331b285 (patch)
tree801b2c1d8cb6b269f2b2f18e08e052cdc4f66749 /src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwsdrawable.c
parent8a7199be73aea42eacf07c56a63d2b526204c8fb (diff)
parentb371999d3e9c207047be6afda89d008b6cf04763 (diff)
downloadQt-0cc27cec860f46b1e349c428973cf4ce3331b285.zip
Qt-0cc27cec860f46b1e349c428973cf4ce3331b285.tar.gz
Qt-0cc27cec860f46b1e349c428973cf4ce3331b285.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7
Conflicts: src/declarative/graphicsitems/qdeclarativeitemsmodule.cpp
Diffstat (limited to 'src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwsdrawable.c')
-rw-r--r--src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwsdrawable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwsdrawable.c b/src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwsdrawable.c
index e6ac418..d05dd5d 100644
--- a/src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwsdrawable.c
+++ b/src/plugins/gfxdrivers/powervr/QWSWSEGL/pvrqwsdrawable.c
@@ -95,7 +95,7 @@ static int pvrQwsInitFbScreen(int screen)
width = var.xres;
height = var.yres;
bytesPerPixel = var.bits_per_pixel / 8;
- stride = var.xres * bytesPerPixel;
+ stride = fix.line_length;
format = PVR2D_1BPP;
if (var.bits_per_pixel == 16) {
if (var.red.length == 5 && var.green.length == 6 &&