Kaydet (Commit) 6c1c191c authored tarafından Jan Holesovsky's avatar Jan Holesovsky

vcl: Fix Linux build.

Change-Id: I3b6e870dc5bcbc227b2ab02c0e622abd3f8c9a98
üst 00fda95a
...@@ -653,20 +653,6 @@ bool OpenGLContext::init(Display* dpy, Window win, int screen) ...@@ -653,20 +653,6 @@ bool OpenGLContext::init(Display* dpy, Window win, int screen)
return ImplInit(); 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) bool OpenGLContext::init(Display* dpy, Pixmap pix, unsigned int width, unsigned int height, int nScreen)
{ {
if(mbInitialized) if(mbInitialized)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment