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:24:33 +0100 |
commit | 6c1c191cdb6b0cd1010dcc2c0e6ccb71b5eb7442 (patch) | |
tree | 5c485408cdb81e44de797b21b53ed640350f7f39 /vcl | |
parent | 00fda95ae461120d515d7cbdcadf8834b6ff12fe (diff) |
vcl: Fix Linux build.
Change-Id: I3b6e870dc5bcbc227b2ab02c0e622abd3f8c9a98
Diffstat (limited to 'vcl')
-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 13823f3d477d..50a95daaaeac 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -653,20 +653,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) |