summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-10-15 16:01:41 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-10-15 16:19:34 (GMT)
commitfd2049b3e318e28a10c18fe344de54820ef9ea40 (patch)
treeb678f66eb2edf59bee03e598187482b5bc0fe18d /src/plugins/gfxdrivers/directfb
parent563b9362dbdedadb773ae45d6fa672f2c75463d9 (diff)
downloadQt-fd2049b3e318e28a10c18fe344de54820ef9ea40.zip
Qt-fd2049b3e318e28a10c18fe344de54820ef9ea40.tar.gz
Qt-fd2049b3e318e28a10c18fe344de54820ef9ea40.tar.bz2
Make QT_DIRECTFB_SUBSURFACE an opt-in option
Previously you had to define QT_NO_DIRECTFB_SUBSURFACE to prevent Qt from using subsurfaces for locked surfaces. Now make the default be QT_NO_DIRECTFB_SUBSURFACE and rather allow people to define QT_DIRECTFB_SUBSURFACE to use this option. Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbscreen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h
index 437f1ae..0520cdc 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h
@@ -54,8 +54,8 @@ QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
-#if !defined QT_NO_DIRECTFB_SUBSURFACE && !defined QT_DIRECTFB_SUBSURFACE
-#define QT_DIRECTFB_SUBSURFACE
+#if !defined QT_DIRECTFB_SUBSURFACE && !defined QT_NO_DIRECTFB_SUBSURFACE
+#define QT_NO_DIRECTFB_SUBSURFACE
#endif
#if !defined QT_NO_DIRECTFB_LAYER && !defined QT_DIRECTFB_LAYER
#define QT_DIRECTFB_LAYER