diff options
-rw-r--r-- | vcl/opengl/gdiimpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index c39d25ead71f..539ae7603efb 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -332,7 +332,7 @@ void OpenGLSalGraphicsImpl::ImplInitClipRegion() if( mbUseScissor ) { Rectangle aRect( maClipRegion.GetBoundRect() ); - glScissor( aRect.Left(), GetHeight() - aRect.Bottom() - 1, aRect.GetWidth() + 1, aRect.GetHeight() + 1 ); + glScissor( aRect.Left(), GetHeight() - aRect.Bottom() - 1, aRect.GetWidth(), aRect.GetHeight() ); CHECK_GL_ERROR(); } else if( !maClipRegion.IsEmpty() ) |