mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 04:11:53 +00:00
Don't error, abort to console with more helpful text on what to do next instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1018 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
4a0c02b685
commit
519e395f3a
1 changed files with 1 additions and 2 deletions
|
@ -723,7 +723,7 @@ err_t SWimp_SetMode( rendererstate_t *info )
|
||||||
{
|
{
|
||||||
// mode is legal but not as fullscreen
|
// mode is legal but not as fullscreen
|
||||||
fullscreen = false;
|
fullscreen = false;
|
||||||
retval = err_invalid_fullscreen;
|
retval = err_ok;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -892,7 +892,6 @@ qboolean SWVID_Init (rendererstate_t *info, unsigned char *palette)
|
||||||
|
|
||||||
if (SWimp_SetMode(info))
|
if (SWimp_SetMode(info))
|
||||||
{
|
{
|
||||||
Sys_Error("Failed to set video mode\n");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
SWimp_SetPalette(palette);
|
SWimp_SetPalette(palette);
|
||||||
|
|
Loading…
Reference in a new issue