mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 07:28:00 -05:00
improved accuracy of isle constructor
This commit is contained in:
parent
fa06782e08
commit
7a5dc664ac
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue