diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-07-04 13:41:16 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-07-04 15:02:44 (GMT) |
commit | df48d66d6e0af1281e1909b47054d45c729b675e (patch) | |
tree | 0e8ba99583f1e12334448d950a6f56752bb6d388 /src/gui/painting | |
parent | 0e9e4422205da5c27ab2c758d730b958df7ac872 (diff) | |
download | Qt-df48d66d6e0af1281e1909b47054d45c729b675e.zip Qt-df48d66d6e0af1281e1909b47054d45c729b675e.tar.gz Qt-df48d66d6e0af1281e1909b47054d45c729b675e.tar.bz2 |
Fixed missing painting with X11 paint engine.
Re-introduce some "lost" code from 4.7.
Task-number: QTBUG-19639
Reviewed-by: Olivier Goffart
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qpaintengine_x11.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qpaintengine_x11.cpp b/src/gui/painting/qpaintengine_x11.cpp index 994986b..147d2ec 100644 --- a/src/gui/painting/qpaintengine_x11.cpp +++ b/src/gui/painting/qpaintengine_x11.cpp @@ -1611,6 +1611,8 @@ void QX11PaintEnginePrivate::fillPolygon_dev(const QPointF *polygonPoints, int p && (fill.style() != Qt::NoBrush) && ((has_fill_texture && fill.texture().hasAlpha()) || antialias || !solid_fill || has_alpha_pen != has_alpha_brush)) { + tessellator->tessellate((QPointF *)clippedPoints, clippedCount, + mode == QPaintEngine::WindingMode); if (tessellator->size > 0) { XRenderPictureAttributes attrs; attrs.poly_edge = antialias ? PolyEdgeSmooth : PolyEdgeSharp; |