diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-05-11 14:56:24 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-05-11 15:08:07 (GMT) |
commit | c5846314dfd80e7f7f32ba737f1884dcccbbd80d (patch) | |
tree | f7e2dd74463c0e2de5f853c2687311d9071f0b47 /src/gui/painting/qpaintengine_raster.cpp | |
parent | 4d2edca95edbb93fb7c79c4ddb19e12cc4416ff2 (diff) | |
download | Qt-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