diff options
-rw-r--r-- | vcl/headless/svpgdi.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index 1b89dde1fac0..86ac6254c5bf 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -714,12 +714,15 @@ void SvpSalGraphics::drawPixel( long nX, long nY ) void SvpSalGraphics::drawPixel( long nX, long nY, Color aColor ) { - cairo_t* cr = getCairoContext(true); + cairo_t* cr = getCairoContext(false); clipRegion(cr); cairo_rectangle(cr, nX, nY, 1, 1); applyColor(cr, aColor, 0.0); cairo_fill(cr); + + basegfx::B2DRange extents = getClippedFillDamage(cr); + releaseCairoContext(cr, false, extents); } void SvpSalGraphics::drawRect( long nX, long nY, long nWidth, long nHeight ) |