improved accuracy of isle constructor

This commit is contained in:
itsmattkc 2023-06-12 13:05:55 -07:00
parent fa06782e08
commit 7a5dc664ac

View file

@ -39,8 +39,7 @@ Isle::Isle()
rect.m_right = 639; rect.m_right = 639;
rect.m_bottom = 479; rect.m_bottom = 479;
MxVideoParamFlags f; m_videoParam = MxVideoParam(rect, NULL, 1, MxVideoParamFlags());
m_videoParam = MxVideoParam(rect, NULL, 1, f);
m_videoParam.flags().Enable16Bit(MxDirectDraw::GetPrimaryBitDepth() == 16); m_videoParam.flags().Enable16Bit(MxDirectDraw::GetPrimaryBitDepth() == 16);
m_windowHandle = NULL; m_windowHandle = NULL;