summaryrefslogtreecommitdiffstats
path: root/src/declarative/items/context2d/qsgcontext2dcommandbuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/items/context2d/qsgcontext2dcommandbuffer.cpp')
-rw-r--r--src/declarative/items/context2d/qsgcontext2dcommandbuffer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/items/context2d/qsgcontext2dcommandbuffer.cpp b/src/declarative/items/context2d/qsgcontext2dcommandbuffer.cpp
index 224f640abc..550ad77515 100644
--- a/src/declarative/items/context2d/qsgcontext2dcommandbuffer.cpp
+++ b/src/declarative/items/context2d/qsgcontext2dcommandbuffer.cpp
@@ -46,6 +46,8 @@
#define HAS_SHADOW(offsetX, offsetY, blur, color) (color.isValid() && color.alpha() && (blur || offsetX || offsetY))
+QT_BEGIN_NAMESPACE
+
void qt_image_boxblur(QImage& image, int radius, bool quality);
static QImage makeShadowImage(const QImage& image, qreal offsetX, qreal offsetY, qreal blur, const QColor& color)
@@ -394,4 +396,5 @@ void QSGContext2DCommandBuffer::reset()
imageIdx = 0;
}
+QT_END_NAMESPACE