Previous 199869 Revisions Next

r45076 Sunday 21st February, 2016 at 07:33:39 UTC by Miodrag Milanović
destroy renderer when needed (nw)
[src/osd/windows]window.cpp

trunk/src/osd/windows/window.cpp
r253587r253588
14771477
14781478      // destroy: clean up all attached rendering bits and nullptr out our hwnd
14791479      case WM_DESTROY:
1480         global_free(window->m_renderer);
14801481         window->m_renderer = nullptr;
14811482         window->m_hwnd = nullptr;
14821483         return DefWindowProc(wnd, message, wparam, lparam);


Previous 199869 Revisions Next


© 1997-2024 The MAME Team