From 1a547a566eba5943f9e4d9987baf4aee80846dd1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 10 Sep 2017 16:07:49 +0100 Subject: hidpi+gtk3: move setting the opengl slide viewport MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit to when the window size is set, and adjust to gtk3 hidpi scaling factor Change-Id: Id9bd0defd0b6ae640ac57f88133d954202d4bcc3 Reviewed-on: https://gerrit.libreoffice.org/42143 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- slideshow/source/engine/opengl/TransitionerImpl.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'slideshow') diff --git a/slideshow/source/engine/opengl/TransitionerImpl.cxx b/slideshow/source/engine/opengl/TransitionerImpl.cxx index 95d97533325e..846b5ca8c0c0 100644 --- a/slideshow/source/engine/opengl/TransitionerImpl.cxx +++ b/slideshow/source/engine/opengl/TransitionerImpl.cxx @@ -344,7 +344,6 @@ bool OGLTransitionerImpl::initWindowFromSlideShowView( const Reference< presenta mpContext->swapBuffers(); - glViewport(0, 0, aCanvasArea.Width, aCanvasArea.Height); CHECK_GL_ERROR(); return true; -- cgit