Add a missing "!" so the game actually runs again (I guess that was the
reason I couldn't sleep...). git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@203 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
4fc0c26f6d
commit
6fdc00e9c3
|
@ -181,7 +181,7 @@ BOOL screenInitialise( UDWORD width, // Display width
|
|||
}
|
||||
|
||||
bpp = SDL_VideoModeOK(width, height, screenDepth, video_flags);
|
||||
if (bpp) {
|
||||
if (!bpp) {
|
||||
printf("Error: Video mode %dx%d@%dbpp is not supported!\n", width, height, screenDepth);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue