summaryrefslogtreecommitdiff
path: root/include/vcl/opengl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-22 15:52:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-24 07:56:01 +0100
commitde8f6b25de6fbe813fe172542e7eff1596b37335 (patch)
tree4a2864c87395463391cd2ad40c4f1ada962f44e9 /include/vcl/opengl
parent182a3c7e12a0f56d664deaf67d17bc51eef6299d (diff)
loplugin:unused-returns in vcl
Change-Id: I507320900a47f604d17ed7d402d531a7cbdf744e Reviewed-on: https://gerrit.libreoffice.org/48331 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/opengl')
-rw-r--r--include/vcl/opengl/OpenGLContext.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index 947384badda8..62a526a09a80 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -83,7 +83,7 @@ public:
// use these methods right after setting a context to make sure drawing happens
// in the right FBO (default one is for onscreen painting)
bool BindFramebuffer( OpenGLFramebuffer* pFramebuffer );
- bool AcquireDefaultFramebuffer();
+ void AcquireDefaultFramebuffer();
OpenGLFramebuffer* AcquireFramebuffer( const OpenGLTexture& rTexture );
static void ReleaseFramebuffer( OpenGLFramebuffer* pFramebuffer );
void UnbindTextureFromFramebuffers( GLuint nTexture );
@@ -153,7 +153,7 @@ public:
virtual SystemWindowData generateWinData(vcl::Window* pParent, bool bRequestLegacyContext);
private:
- virtual bool initWindow();
+ virtual void initWindow();
virtual void destroyCurrentContext();
virtual void adjustToNewSize();