summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-08-25 21:32:48 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-08-25 21:32:48 (GMT)
commita5f41541caea7f19d5259a48e2de8db8144e3373 (patch)
treed097bed0682054e4139d55954748b52d053ac23e /src/plugins
parenteb5928444ad35c3b9005498228e5a8a8a6bd3b60 (diff)
downloadQt-a5f41541caea7f19d5259a48e2de8db8144e3373.zip
Qt-a5f41541caea7f19d5259a48e2de8db8144e3373.tar.gz
Qt-a5f41541caea7f19d5259a48e2de8db8144e3373.tar.bz2
Ensure that windows are double buffered in DFB
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp
index 83affa7..2f240fb 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp
@@ -124,7 +124,7 @@ void QDirectFBWindowSurface::createWindow()
qFatal("QDirectFBWindowSurface: Unable to get primary display layer!");
DFBWindowDescription description;
- description.caps = DWCAPS_NODECORATION;
+ description.caps = DWCAPS_NODECORATION|DWCAPS_DOUBLEBUFFER;
description.flags = DWDESC_CAPS|DWDESC_SURFACE_CAPS|DWDESC_PIXELFORMAT;
description.surface_caps = DSCAPS_NONE;