summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
index f72b0da..24d77bf 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp
@@ -436,8 +436,9 @@ void QDirectFBPaintEnginePrivate::setCompositionMode(QPainter::CompositionMode m
}
}
-void QDirectFBPaintEnginePrivate::setOpacity(quint8 opacity)
+void QDirectFBPaintEnginePrivate::setOpacity(quint8 op)
{
+ opacity = op;
if (opacity == 255) {
// ### need to check this stuff
blitFlagsFromCompositionMode &= ~(DSBLIT_BLEND_COLORALPHA | DSBLIT_SRC_PREMULTCOLOR);