From 8bd9db90383ee008777903c35c7a5eb2c5352e71 Mon Sep 17 00:00:00 2001 From: Caolán McNamara <caolanm@redhat.com> Date: Fri, 25 Nov 2016 14:11:13 +0000 Subject: gtk3: implement opengl support for slideshow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit all of them work, except "Fall" doesn't look right, but it has the exact same problem under gtk2/gen to. Change-Id: I73cb9c0fb8211f727198be78d90d4f80a4f8c7c8 Reviewed-on: https://gerrit.libreoffice.org/31214 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> --- include/vcl/opengl/OpenGLContext.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx index 37d354e576f8..5fc88d6c0008 100644 --- a/include/vcl/opengl/OpenGLContext.hxx +++ b/include/vcl/opengl/OpenGLContext.hxx @@ -129,6 +129,8 @@ public: void registerAsCurrent(); /// reset the GL context so this context is not implicit in subsequent GL calls. virtual void resetCurrent(); + /// unbind the GL_FRAMEBUFFER to its default state, needed for gtk3 + virtual void restoreDefaultFramebuffer(); virtual void swapBuffers(); virtual void sync(); void show(); -- cgit