diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-12-03 14:24:33 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-12-03 14:41:21 +0100 |
commit | d0b24883c2189f77982d64e481061d9ce430fed5 (patch) | |
tree | 36e1daf57d32e366b407132e988b42087f2b4a69 | |
parent | 2d1f090e7ae0c05a30531fa13d82047d898512e9 (diff) |
vcl: Fix Linux build.
Change-Id: I3b6e870dc5bcbc227b2ab02c0e622abd3f8c9a98
-rw-r--r-- | vcl/source/opengl/OpenGLContext.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index 16db85f9d9ef..30a23b5d320a 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -654,20 +654,6 @@ bool OpenGLContext::init(Display* dpy, Window win, int screen) return ImplInit(); } -void OpenGLContext::resetToReInitialize() -{ - if( !mbInitialized ) - return; - resetCurrent(); - - if (mbPixmap) - { - glXDestroyPixmap(m_aGLWin.dpy, m_aGLWin.glPix); - m_aGLWin.glPix = None; - } - mbInitialized = false; -} - bool OpenGLContext::init(Display* dpy, Pixmap pix, unsigned int width, unsigned int height, int nScreen) { if(mbInitialized) |