summaryrefslogtreecommitdiffstats
path: root/demos/qtdemo/guide.cpp
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-10-02 00:31:39 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-10-02 00:31:39 (GMT)
commit53b3a0572242d0a425e74848afba1293f195d29b (patch)
tree753913891848f2b93f4c2834506ad994edef5819 /demos/qtdemo/guide.cpp
parent6ca9ba3b67695e18c1c57176d5d8849547517199 (diff)
downloadQt-53b3a0572242d0a425e74848afba1293f195d29b.zip
Qt-53b3a0572242d0a425e74848afba1293f195d29b.tar.gz
Qt-53b3a0572242d0a425e74848afba1293f195d29b.tar.bz2
Fix support for 32-bit PowerVR screens with QGraphicsView
When QGLWidget was used as a viewport for QGraphicsView, it was still treating the window surface as RGB16. Use the screen's actual pixel format. Also ensure that PvrEglWindowSurface::image() returns a non-null QImage if the drawable hasn't been created yet. Reviewed-by: trustme
Diffstat (limited to 'demos/qtdemo/guide.cpp')
0 files changed, 0 insertions, 0 deletions