diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-02 00:31:39 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-02 00:31:39 (GMT) |
commit | 53b3a0572242d0a425e74848afba1293f195d29b (patch) | |
tree | 753913891848f2b93f4c2834506ad994edef5819 /demos/sub-attaq/torpedo.cpp | |
parent | 6ca9ba3b67695e18c1c57176d5d8849547517199 (diff) | |
download | Qt-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/sub-attaq/torpedo.cpp')
0 files changed, 0 insertions, 0 deletions