mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 14:14:47 +01:00
prefer flags = 0
This commit is contained in:
parent
59c1671ad4
commit
c70b035cbf
@ -218,7 +218,7 @@ HRESULT __stdcall ddraw_EnumDisplayModes(IDirectDrawImpl *This, DWORD dwFlags, L
|
||||
//set up some filters to keep the list short
|
||||
DWORD refreshRate = 0;
|
||||
DWORD bpp = 0;
|
||||
DWORD flags = 0;
|
||||
DWORD flags = 99998;
|
||||
DWORD fixedOutput = 99998;
|
||||
|
||||
DEVMODE m;
|
||||
@ -230,7 +230,7 @@ HRESULT __stdcall ddraw_EnumDisplayModes(IDirectDrawImpl *This, DWORD dwFlags, L
|
||||
if (bpp != 32 && m.dmBitsPerPel >= 16)
|
||||
bpp = m.dmBitsPerPel;
|
||||
|
||||
if (flags == 0)
|
||||
if (flags != 0)
|
||||
flags = m.dmDisplayFlags;
|
||||
|
||||
if (fixedOutput != DMDFO_DEFAULT)
|
||||
|
Loading…
x
Reference in New Issue
Block a user