summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-01-13 01:15:52 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-01-29 08:09:49 +0100
commit240a2b05c576945794a01365b06fe05023d48318 (patch)
treedf03742085dfcca4d05beb3e7c4337a11d2ead30
parent07564f03050e56fe7a7c1d80764f7d5187ec2e36 (diff)
another two unused variables
Change-Id: Ib6fdcd8a541f98e3e7a3e1cb7407bb497a104914
-rwxr-xr-xchart2/source/view/main/OpenGLRender.cxx4
-rwxr-xr-xchart2/source/view/main/OpenGLRender.hxx4
2 files changed, 0 insertions, 8 deletions
diff --git a/chart2/source/view/main/OpenGLRender.cxx b/chart2/source/view/main/OpenGLRender.cxx
index 33d1754f2166..95594983f559 100755
--- a/chart2/source/view/main/OpenGLRender.cxx
+++ b/chart2/source/view/main/OpenGLRender.cxx
@@ -909,10 +909,6 @@ void OpenGLRender::Release()
glDeleteRenderbuffers(1, &m_RboID);
#if defined( WNT )
wglMakeCurrent(NULL, NULL);
- if (!m_iExternRC)
- wglDeleteContext(glWin.hRC);
- if (!m_iExternDC)
- ReleaseDC(glWin.hWnd, glWin.hDC);
#elif defined( UNX )
glXMakeCurrent(glWin.dpy, None, NULL);
diff --git a/chart2/source/view/main/OpenGLRender.hxx b/chart2/source/view/main/OpenGLRender.hxx
index 4e7de032cc37..5a28644fc953 100755
--- a/chart2/source/view/main/OpenGLRender.hxx
+++ b/chart2/source/view/main/OpenGLRender.hxx
@@ -248,10 +248,6 @@ private:
GLWindow glWin;
- int m_iExternDC;
-
- int m_iExternRC;
-
Line2DPointList m_Line2DPointList;
float m_fLineWidth;