diff options
author | Anders Bakken <anders@trolltech.com> | 2009-11-16 03:13:21 -0800 |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-11-18 21:43:46 +1000 |
commit | 077223e733c98249e888e39881983237b155007c (patch) | |
tree | f1ed86837b6689fda2f621738ed0390a590567ea /src | |
parent | 4348e44ccadae1431fc936504caa29341878252b (diff) | |
download | qt4-tools-077223e733c98249e888e39881983237b155007c.tar.gz |
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)
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp index c9a010f049..021d52e7cb 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; |