[Libreoffice-commits] core.git: vcl/source
Jan Holesovsky
kendy at collabora.com
Wed Dec 3 05:25:14 PST 2014
vcl/source/opengl/OpenGLContext.cxx | 14 --------------
1 file changed, 14 deletions(-)
New commits:
commit 6c1c191cdb6b0cd1010dcc2c0e6ccb71b5eb7442
Author: Jan Holesovsky <kendy at collabora.com>
Date: Wed Dec 3 14:24:33 2014 +0100
vcl: Fix Linux build.
Change-Id: I3b6e870dc5bcbc227b2ab02c0e622abd3f8c9a98
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 13823f3..50a95da 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)
More information about the Libreoffice-commits
mailing list