summaryrefslogtreecommitdiff
path: root/canvas/source
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source')
-rw-r--r--canvas/source/vcl/spritehelper.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/canvas/source/vcl/spritehelper.cxx b/canvas/source/vcl/spritehelper.cxx
index 96300101b5ae..53116fa9d53d 100644
--- a/canvas/source/vcl/spritehelper.cxx
+++ b/canvas/source/vcl/spritehelper.cxx
@@ -32,7 +32,6 @@
#include <vcl/canvastools.hxx>
#include <vcl/outdev.hxx>
#include <vcl/BitmapMonochromeFilter.hxx>
-#include <vcl/opengl/OpenGLHelper.hxx>
#include <vcl/skia/SkiaHelper.hxx>
#include <canvas/canvastools.hxx>
@@ -189,15 +188,8 @@ namespace vclcanvas
if( !bIdentityTransform )
{
- // Avoid the trick with the negative width in the OpenGL case,
- // OutputDevice::DrawDeviceAlphaBitmap() doesn't like it.
if (!::basegfx::fTools::equalZero( aTransform.get(0,1) ) ||
- !::basegfx::fTools::equalZero( aTransform.get(1,0) )
-#if HAVE_FEATURE_UI
- || OpenGLHelper::isVCLOpenGLEnabled()
-#endif
- || SkiaHelper::isVCLSkiaEnabled()
- )
+ !::basegfx::fTools::equalZero( aTransform.get(1,0) ))
{
// "complex" transformation, employ affine
// transformator