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 /include/vcl/opengl | |
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 'include/vcl/opengl')
-rw-r--r-- | include/vcl/opengl/OpenGLContext.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx index 738f503269d2..b638d70ccc36 100644 --- a/include/vcl/opengl/OpenGLContext.hxx +++ b/include/vcl/opengl/OpenGLContext.hxx @@ -158,6 +158,7 @@ public: private: virtual bool initWindow(); virtual void destroyCurrentContext(); + virtual void adjustToNewSize(); protected: bool InitGL(); |