diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-09-04 23:11:59 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-09-04 23:11:59 (GMT) |
commit | 74fa44ad0241a6c30cf9145a85e6067a6414aba6 (patch) | |
tree | ca88167e4a79b7be60f24edc82883b820a6135c3 /src/plugins/gfxdrivers/directfb | |
parent | 39365d2a77c875cf13b287e3045c0309c8b01dea (diff) | |
download | Qt-74fa44ad0241a6c30cf9145a85e6067a6414aba6.zip Qt-74fa44ad0241a6c30cf9145a85e6067a6414aba6.tar.gz Qt-74fa44ad0241a6c30cf9145a85e6067a6414aba6.tar.bz2 |
Use the right type in DFBPaintEngine
Reviewed-by: TrustMe
Diffstat (limited to 'src/plugins/gfxdrivers/directfb')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp index 6535d65..2630348 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbpaintengine.cpp @@ -925,12 +925,12 @@ void QDirectFBPaintEnginePrivate::setRenderHints(QPainter::RenderHints hints) void QDirectFBPaintEnginePrivate::prepareForBlit(bool alpha) { - quint32 blittingFlags = alpha ? DSBLIT_BLEND_ALPHACHANNEL : DSBLIT_NOFX; + DFBSurfaceBlittingFlags blittingFlags = alpha ? DSBLIT_BLEND_ALPHACHANNEL : DSBLIT_NOFX; if (opacity != 255) { blittingFlags |= DSBLIT_BLEND_COLORALPHA; } surface->SetColor(surface, 0xff, 0xff, 0xff, opacity); - surface->SetBlittingFlags(surface, DFBSurfaceBlittingFlags(blittingFlags)); + surface->SetBlittingFlags(surface, blittingFlags); } static inline uint ALPHA_MUL(uint x, uint a) |