From 6d4ac5c90db86e4c8c1cd5ec05a289363bb36862 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Thu, 4 Jan 2024 14:33:39 -0500 Subject: [PATCH] Remove obsolete comment --- LEGO1/mxdirect3d.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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(); }