summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-08 13:55:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-09 14:17:08 +0200
commitf4fb14ed796cec7a02f3a06a6556997ae415e79d (patch)
treef4d1cd6d31d8b9530786ee90ce9034e5e4d950c6 /vcl
parentd84bf553afa510e5c674817fa480ac0af62e4945 (diff)
loplugin:unusedmethods
Change-Id: I0308ddd467ab6e283c0503f98885a248eb28290c Reviewed-on: https://gerrit.libreoffice.org/58738 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx26
1 files changed, 0 insertions, 26 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index ffc1a5f61190..5dc4090bdaa0 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -232,22 +232,6 @@ bool OpenGLContext::init( vcl::Window* pParent )
return ImplInit();
}
-bool OpenGLContext::init(SystemChildWindow* pChildWindow)
-{
- if(mbInitialized)
- return true;
-
- if( !pChildWindow )
- return false;
-
- OpenGLZone aZone;
-
- mpWindow = pChildWindow->GetParent();
- m_pChildWindow = pChildWindow;
- initWindow();
- return ImplInit();
-}
-
bool OpenGLContext::ImplInit()
{
VCL_GL_INFO("OpenGLContext not implemented for this platform");
@@ -828,14 +812,4 @@ OpenGLProgram* OpenGLContext::UseProgram( const OUString& rVertexShader, const O
return mpCurrentProgram;
}
-void OpenGLContext::UseNoProgram()
-{
- if( mpCurrentProgram == nullptr )
- return;
-
- mpCurrentProgram = nullptr;
- glUseProgram( 0 );
- CHECK_GL_ERROR();
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */