summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-09-02 20:34:13 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-09-02 21:49:50 (GMT)
commit5edd63fa65da0853a379a404f9406420a63e2830 (patch)
treeb69f830980207c36a1dfcb29e9a26fb5dafc1034
parent6ce20b8d0fbee2f32c892943c80c3ed9aef2f866 (diff)
downloadQt-5edd63fa65da0853a379a404f9406420a63e2830.zip
Qt-5edd63fa65da0853a379a404f9406420a63e2830.tar.gz
Qt-5edd63fa65da0853a379a404f9406420a63e2830.tar.bz2
Compile with DFB 0.9
DSPD_XOR is not supported until 1.0. Reviewed-by: Donald Carr <donald.carr@nokia.com>
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
index 5bad4de..6535d65 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
@@ -904,10 +904,10 @@ void QDirectFBPaintEnginePrivate::setCompositionMode(QPainter::CompositionMode m
case QPainter::CompositionMode_Plus:
surface->SetPorterDuff(surface, DSPD_ADD);
break;
-#endif
case QPainter::CompositionMode_Xor:
surface->SetPorterDuff(surface, DSPD_XOR);
break;
+#endif
default:
compositionModeStatus = 0;
break;