summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2010-03-05 19:37:04 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2010-03-05 19:37:04 (GMT)
commit888e05cc903c4a03a6571bb0e0befb86fd9443d5 (patch)
treed84dd1383883b10477c5c5ee4411667efd5754f5 /src/plugins/gfxdrivers
parent2dd029993b16b8c696de61a0ead5a417d1f778f9 (diff)
downloadQt-888e05cc903c4a03a6571bb0e0befb86fd9443d5.zip
Qt-888e05cc903c4a03a6571bb0e0befb86fd9443d5.tar.gz
Qt-888e05cc903c4a03a6571bb0e0befb86fd9443d5.tar.bz2
Compile with DirectFB version >= 1.2.0 && < 1.2.9
DSPF_DST was added in 1.2.9, not in 1.2.0 Reviewed-by: muthu <qt-info@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers')
-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 1bd6dce..7dce516 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
@@ -1005,7 +1005,7 @@ void QDirectFBPaintEnginePrivate::setCompositionMode(QPainter::CompositionMode m
case QPainter::CompositionMode_DestinationOut:
surface->SetPorterDuff(surface, DSPD_DST_OUT);
break;
-#if (Q_DIRECTFB_VERSION >= 0x010200)
+#if (Q_DIRECTFB_VERSION >= 0x010209)
case QPainter::CompositionMode_Destination:
surface->SetPorterDuff(surface, DSPD_DST);
break;