summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers
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 10:20:02 (GMT)
commit44188a44d3618186bca8a5fb149e4b74daa6bdeb (patch)
treeab91212656f98683910940bf1369a36b2744f4e8 /src/plugins/gfxdrivers
parent80e426b0033c7e10094f806c933f0b29194ed429 (diff)
downloadQt-44188a44d3618186bca8a5fb149e4b74daa6bdeb.zip
Qt-44188a44d3618186bca8a5fb149e4b74daa6bdeb.tar.gz
Qt-44188a44d3618186bca8a5fb149e4b74daa6bdeb.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)
Diffstat (limited to 'src/plugins/gfxdrivers')
-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;