From 7a5dc664ac50701cc3bba195a4a0e118638cf970 Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Mon, 12 Jun 2023 13:05:55 -0700 Subject: [PATCH] improved accuracy of isle constructor --- ISLE/isle.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ISLE/isle.cpp b/ISLE/isle.cpp index c09980c4..3d3b5935 100644 --- a/ISLE/isle.cpp +++ b/ISLE/isle.cpp @@ -39,8 +39,7 @@ Isle::Isle() rect.m_right = 639; rect.m_bottom = 479; - MxVideoParamFlags f; - m_videoParam = MxVideoParam(rect, NULL, 1, f); + m_videoParam = MxVideoParam(rect, NULL, 1, MxVideoParamFlags()); m_videoParam.flags().Enable16Bit(MxDirectDraw::GetPrimaryBitDepth() == 16); m_windowHandle = NULL;