* Allow larger display bitdepths than 16bit
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2008 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
10a0d4be6e
commit
24e16176b8
|
@ -228,8 +228,8 @@ BOOL CDirectDraw::Create(void *hWnd,char *szDevice,char *sz3DDevice,Profile *Use
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(m_WindowsBPP != 16) {
|
if(m_WindowsBPP < 16) {
|
||||||
MessageBox(NULL, "This program requires the windows\ndisplay depth to be set to 16 bits.\nPlease alter the display properties",
|
MessageBox(NULL, "This program requires the windows\ndisplay depth to be set to at least 16 bits.\nPlease alter the display properties",
|
||||||
"Invalid Display Mode", MB_OK);
|
"Invalid Display Mode", MB_OK);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue