summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorLouis-Francis Ratté-Boulianne <lfrb@collabora.com>2014-11-12 15:55:23 -0500
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-13 07:54:20 +0100
commit6ff6d0b00dee5f9afbd4b4f0747183a3c8ba7939 (patch)
tree71ea1da2c5ec5438d9bff85a8ba215e2eea1a642 /vcl
parent0127e37a83bc3734045c084fe8e3eb61998afc9e (diff)
vcl: Use glScissor for rectangular clip regions
Change-Id: I62bf28d854d889242a49146cfe87c3dd6be89c32
Diffstat (limited to 'vcl')
-rw-r--r--vcl/opengl/gdiimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 408896b000be..f1206c35d04e 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -135,7 +135,7 @@ bool OpenGLSalGraphicsImpl::setClipRegion( const vcl::Region& rClip )
return true;
}
- if( false ) //rClip.IsRectangle() )
+ if( rClip.IsRectangle() )
{
Rectangle aRect( rClip.GetBoundRect() );