mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Reword stupid error message that has probably never even been seen
git-svn-id: https://svn.eduke32.com/eduke32@8138 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4d3dedd4ab
commit
593b5740e3
1 changed files with 6 additions and 5 deletions
|
@ -195,17 +195,18 @@ void G_HandleSpecialKeys(void)
|
|||
CONTROL_GetInput(&noshareinfo);
|
||||
}
|
||||
|
||||
// CONTROL_ProcessBinds();
|
||||
|
||||
if (g_networkMode != NET_DEDICATED_SERVER && ALT_IS_PRESSED && KB_KeyPressed(sc_Enter))
|
||||
{
|
||||
if (videoSetGameMode(!ud.setup.fullscreen, ud.setup.xdim, ud.setup.ydim, ud.setup.bpp, ud.detail))
|
||||
{
|
||||
OSD_Printf(OSD_ERROR "Failed setting fullscreen video mode.\n");
|
||||
OSD_Printf(OSD_ERROR "Failed setting video mode!\n");
|
||||
|
||||
if (videoSetGameMode(ud.setup.fullscreen, ud.setup.xdim, ud.setup.ydim, ud.setup.bpp, ud.detail))
|
||||
G_GameExit("Failed to recover from failure to set fullscreen video mode.\n");
|
||||
G_GameExit("Fatal error: unable to recover from failure setting video mode!\n");
|
||||
}
|
||||
else ud.setup.fullscreen = !ud.setup.fullscreen;
|
||||
else
|
||||
ud.setup.fullscreen = !ud.setup.fullscreen;
|
||||
|
||||
KB_ClearKeyDown(sc_Enter);
|
||||
g_restorePalette = 1;
|
||||
G_UpdateScreenArea();
|
||||
|
|
Loading…
Reference in a new issue