Added more meaningful error message

This commit is contained in:
pagefault
2001-08-03 03:54:09 +00:00
parent e07c243a8f
commit 20ed0e65bf

View File

@@ -1264,7 +1264,7 @@ int InitDirectDraw()
} }
if (lpDD->SetDisplayMode(WindowWidth, WindowHeight, 16, 0, 0) != DD_OK) if (lpDD->SetDisplayMode(WindowWidth, WindowHeight, 16, 0, 0) != DD_OK)
{ {
MessageBox(NULL, "IDirectDraw7::SetDisplayMode failed.", "DirectDraw Error", MB_ICONERROR); MessageBox(NULL, "IDirectDraw7::SetDisplayMode failed.\nMake sure your video card supports this mode.", "DirectDraw Error", MB_ICONERROR);
} }
} }
else else