summaryrefslogtreecommitdiff
path: root/vcl/opengl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-25 11:24:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-26 06:49:31 +0000
commitfe1f1247fad782bdf43322532fdeb1ba9f03135a (patch)
treec8dfc79901c98bb69c3dd5e2a8ea5ab8cbbe6360 /vcl/opengl
parent9c34797cc98030614b384b6ea0f233d59ae82253 (diff)
loplugin:expandablemethods in vcl
Change-Id: I1876e203d3a3a5fa36d83a9b282ba49429c1da2a Reviewed-on: https://gerrit.libreoffice.org/30261 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/opengl')
-rw-r--r--vcl/opengl/texture.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/opengl/texture.cxx b/vcl/opengl/texture.cxx
index dd358aab2021..0681161b2b29 100644
--- a/vcl/opengl/texture.cxx
+++ b/vcl/opengl/texture.cxx
@@ -157,11 +157,6 @@ GLuint ImplOpenGLTexture::AddStencil()
ImplOpenGLTexture::~ImplOpenGLTexture()
{
VCL_GL_INFO( "~OpenGLTexture " << mnTexture );
- Dispose();
-}
-
-void ImplOpenGLTexture::Dispose()
-{
if( mnTexture != 0 )
{
// During shutdown GL is already de-initialized, so we should not try to create a new context.