summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-30 04:55:46 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-01 07:37:06 +0100
commit8eeb02dcc1a4bc99b083b1a591b4a70003a1604f (patch)
tree41192f5d3308d7bbc48ec8c31e4b92c4fe491fea /include/vcl
parent1cbab726772e3c0eba74202043699584a00eb931 (diff)
use boost::shared_ptr instead of manual ref counting
Change-Id: I3c2ed9b5641202ff965c3a0c833c8201b2b1548b
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/opengl/OpenGLContext.hxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index ebfa6ff5f884..7931f4b26e4d 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -175,9 +175,6 @@ public:
bool init( HDC hDC, HWND hWnd );
#endif
- void AddRef();
- void DeRef();
-
void makeCurrent();
void resetCurrent();
void swapBuffers();
@@ -222,7 +219,6 @@ private:
SystemChildWindow* m_pChildWindow;
boost::scoped_ptr<SystemChildWindow> m_pChildWindowGC;
bool mbInitialized;
- int mnRefCount;
bool mbRequestLegacyContext;
bool mbUseDoubleBufferedRendering;
bool mbRequestVirtualDevice;