void GSWndWGL::Detach() { // Actually the destructor is not called when there is only a GSclose/GSshutdown // The window still need to be closed DetachContext(); if (m_context) wglDeleteContext(m_context); m_context = NULL; CloseWGLDisplay(); }
void GSWndWGL::Detach() { // Actually the destructor is not called when there is only a GSclose/GSshutdown // The window still need to be closed DetachContext(); if (m_context) wglDeleteContext(m_context); m_context = NULL; CloseWGLDisplay(); // Used by GSReplay. if (m_NativeWindow && m_managed) { DestroyWindow(m_NativeWindow); m_NativeWindow = NULL; } }