fix omission from previous commit
Missed one old call on Linux/X11.
Follow-up to ef640ecf10
This commit is contained in:
parent
ef640ecf10
commit
9fe9cf8261
|
@ -84,8 +84,6 @@ GHOST_ContextGLX::GHOST_ContextGLX(
|
|||
GHOST_ContextGLX::~GHOST_ContextGLX()
|
||||
{
|
||||
if (m_display != NULL) {
|
||||
activateGLXEW();
|
||||
|
||||
if (m_context != None) {
|
||||
if (m_window != 0 && m_context == ::glXGetCurrentContext())
|
||||
::glXMakeCurrent(m_display, None, NULL);
|
||||
|
|
Loading…
Reference in New Issue