fix omission from previous commit

Missed one old call on Linux/X11.
Follow-up to ef640ecf10
This commit is contained in:
Mike Erwin 2017-04-22 00:58:42 -04:00
parent ef640ecf10
commit 9fe9cf8261
1 changed files with 0 additions and 2 deletions

View File

@ -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);