mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +00:00
Revert "- ported Linux crash fix to Mac"
This reverts commit 6a49251722
.
This commit is contained in:
parent
6a49251722
commit
e42500c07a
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue