Revert "- ported Linux crash fix to Mac"

This reverts commit 6a49251722.
This commit is contained in:
Rachael Alexanderson 2017-07-25 07:34:26 -04:00
parent 6a49251722
commit e42500c07a
2 changed files with 3 additions and 3 deletions

View file

@ -141,7 +141,7 @@ int ViewportScaledWidth(int width)
switch (vid_scalemode)
{
default:
case 0: return (width==0)?vid_defwidth:width;
case 0: return width;
case 1: return 320;
case 2: return 640;
case 3: return (int)roundf(width * 0.5f);
@ -155,7 +155,7 @@ int ViewportScaledHeight(int height)
switch (vid_scalemode)
{
default:
case 0: return (height==0)?vid_defheight:height;
case 0: return height;
case 1: return 200;
case 2: return 400;
case 3: return (int)roundf(height * 0.5f);

View file

@ -147,7 +147,7 @@ CUSTOM_CVAR(Bool, swtruecolor, TRUECOLOR_DEFAULT, CVAR_ARCHIVE | CVAR_GLOBALCONF
}
}
CUSTOM_CVAR(Bool, fullscreen, false, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
CUSTOM_CVAR(Bool, fullscreen, false, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
{
extern int NewWidth, NewHeight, NewBits, DisplayBits;