diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-01-12 13:38:18 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-01-12 13:38:18 (GMT) |
commit | 645f29c727f33cc9f8b00b8efcb658a050ac6a26 (patch) | |
tree | df5329576ec233eebb9cc43eec36a8726cf5ea35 /src/plugins/graphicssystems | |
parent | 4bbbbbcd60d621af0a80926d29a87f061a50ff85 (diff) | |
download | Qt-645f29c727f33cc9f8b00b8efcb658a050ac6a26.zip Qt-645f29c727f33cc9f8b00b8efcb658a050ac6a26.tar.gz Qt-645f29c727f33cc9f8b00b8efcb658a050ac6a26.tar.bz2 |
Fix QBlittablePixmapData::fromImage
Diffstat (limited to 'src/plugins/graphicssystems')
-rw-r--r-- | src/plugins/graphicssystems/minimaldfb/qblitter_directfb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/graphicssystems/minimaldfb/qblitter_directfb.cpp b/src/plugins/graphicssystems/minimaldfb/qblitter_directfb.cpp index 23e3be6..3772131 100644 --- a/src/plugins/graphicssystems/minimaldfb/qblitter_directfb.cpp +++ b/src/plugins/graphicssystems/minimaldfb/qblitter_directfb.cpp @@ -23,7 +23,7 @@ QDirectFbBlitter::QDirectFbBlitter(const QRect &rect, IDirectFBSurface *surface) surfaceDesc.height = rect.height(); surfaceDesc.caps = DSCAPS_PREMULTIPLIED; surfaceDesc.pixelformat = DSPF_ARGB; - surfaceDesc.flags = DFBSurfaceDescriptionFlags(DSDESC_WIDTH | DSDESC_HEIGHT | DSDESC_PIXELFORMAT); + surfaceDesc.flags = DFBSurfaceDescriptionFlags(DSDESC_WIDTH | DSDESC_HEIGHT | DSDESC_CAPS | DSDESC_PIXELFORMAT); IDirectFB *dfb = QDirectFbConvenience::dfbInterface(); dfb->CreateSurface(dfb,&surfaceDesc, &m_surface); |