* Allow larger display bitdepths than 16bit

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2008 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2007-07-03 11:54:35 +00:00
parent 10a0d4be6e
commit 24e16176b8
1 changed files with 2 additions and 2 deletions

View File

@ -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;
} }