[Libreoffice-commits] core.git: Branch 'feature/opengl-vcl' - vcl/opengl

Louis-Francis Ratté-Boulianne lfrb at collabora.com
Wed Nov 12 12:55:57 PST 2014


 vcl/opengl/gdiimpl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9f46dc705b478cab1fea29ec4a13a3fb89a13c75
Author: Louis-Francis Ratté-Boulianne <lfrb at collabora.com>
Date:   Wed Nov 12 15:55:23 2014 -0500

    vcl: Use glScissor for rectangular clip regions
    
    Change-Id: I62bf28d854d889242a49146cfe87c3dd6be89c32

diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 15ebce0..661a197 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() );
 


More information about the Libreoffice-commits mailing list