summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Bakken <anders@trolltech.com>2009-11-16 11:13:21 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-11-18 11:43:46 (GMT)
commit077223e733c98249e888e39881983237b155007c (patch)
treef1ed86837b6689fda2f621738ed0390a590567ea
parent4348e44ccadae1431fc936504caa29341878252b (diff)
downloadQt-077223e733c98249e888e39881983237b155007c.zip
Qt-077223e733c98249e888e39881983237b155007c.tar.gz
Qt-077223e733c98249e888e39881983237b155007c.tar.bz2
Remove DWCAPS_DOUBLEBUFFER in window creation
This value seems to cause problems on various chipsets and we get a double buffered window regardless. Reviewed-by: Donald Carr <donald.carr@nokia.com> (cherry picked from commit 3bc9a381ebfaf9144120936bb579b71fc7cf29ae) (cherry picked from commit 44188a44d3618186bca8a5fb149e4b74daa6bdeb)
-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 c9a010f..021d52e 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp
@@ -138,7 +138,7 @@ void QDirectFBWindowSurface::createWindow(const QRect &rect)
DFBWindowDescription description;
memset(&description, 0, sizeof(DFBWindowDescription));
- description.caps = DWCAPS_NODECORATION|DWCAPS_DOUBLEBUFFER;
+ description.caps = DWCAPS_NODECORATION;
description.flags = DWDESC_CAPS|DWDESC_SURFACE_CAPS|DWDESC_PIXELFORMAT|DWDESC_HEIGHT|DWDESC_WIDTH|DWDESC_POSX|DWDESC_POSY;
#if (Q_DIRECTFB_VERSION >= 0x010200)
description.flags |= DWDESC_OPTIONS;