summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintengine_raster.cpp
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-05-11 14:56:24 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2011-05-11 15:08:07 (GMT)
commitc5846314dfd80e7f7f32ba737f1884dcccbbd80d (patch)
treef7e2dd74463c0e2de5f853c2687311d9071f0b47 /src/gui/painting/qpaintengine_raster.cpp
parent4d2edca95edbb93fb7c79c4ddb19e12cc4416ff2 (diff)
downloadQt-c5846314dfd80e7f7f32ba737f1884dcccbbd80d.zip
Qt-c5846314dfd80e7f7f32ba737f1884dcccbbd80d.tar.gz
Qt-c5846314dfd80e7f7f32ba737f1884dcccbbd80d.tar.bz2
Fix QGLWidget::renderPixmap for raster engine on Mac
The QPixmap buffer is backed by QRasterPixmapData instead of QMacPixmapData for the raster engine, thus we have to update qt_mac_pixmap_get_base() and qt_mac_pixmap_get_bytes_per_line(), so that QGLWidget can locate the offscreen buffer from a QPixmap. Reviewed-by: Fabien Freling
Diffstat (limited to 'src/gui/painting/qpaintengine_raster.cpp')
0 files changed, 0 insertions, 0 deletions