diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-09-10 16:07:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-09-11 09:50:22 +0200 |
commit | 1a547a566eba5943f9e4d9987baf4aee80846dd1 (patch) | |
tree | 585cd63ae31d7ec789844208f203a7e68d85954b /slideshow | |
parent | 3428bd5fa3626844355f20997ba690fd04297982 (diff) |
hidpi+gtk3: move setting the opengl slide viewport
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 <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/opengl/TransitionerImpl.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
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; |