summaryrefslogtreecommitdiffstats
path: root/examples/opengl/cube
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-05-11 16:56:24 +0200
committerQt Continuous Integration System <qt-info@nokia.com>2011-05-25 17:57:35 +0200
commit635af8d700087b24bd8c212b14cf644e0f71a6fc (patch)
tree6ba6d720c31bd73ed0eff08b90bdee647d95a5f0 /examples/opengl/cube
parentffc19505914e774e067217f5d7149af032312bb7 (diff)
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 (cherry picked from commit c5846314dfd80e7f7f32ba737f1884dcccbbd80d) Change-Id: I2414222f8a59e02c778177d52ad9a6e0ff68668d Reviewed-on: http://codereview.qt.nokia.com/123 Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
Diffstat (limited to 'examples/opengl/cube')
0 files changed, 0 insertions, 0 deletions