diff --git a/LEGO1/mxdirect3d.cpp b/LEGO1/mxdirect3d.cpp index 1b240949..544252aa 100644 --- a/LEGO1/mxdirect3d.cpp +++ b/LEGO1/mxdirect3d.cpp @@ -78,11 +78,8 @@ void MxDirect3D::Destroy() this->m_assignedDevice = NULL; } - // This should get deleted by MxDirectDraw::Destroy - if (m_pCurrentDeviceModesList) { - // delete m_pCurrentDeviceModesList; // missing? + if (m_pCurrentDeviceModesList) m_pCurrentDeviceModesList = NULL; - } MxDirectDraw::Destroy(); }