mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- fixed an issue with previous commit that undid some scaling code
This commit is contained in:
parent
64e96c5f46
commit
e0494b6f13
1 changed files with 2 additions and 2 deletions
|
@ -334,8 +334,8 @@ CUSTOM_CVAR(Bool, swtruecolor, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG|CVAR_NOINITC
|
||||||
|
|
||||||
CUSTOM_CVAR (Bool, fullscreen, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG|CVAR_NOINITCALL)
|
CUSTOM_CVAR (Bool, fullscreen, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG|CVAR_NOINITCALL)
|
||||||
{
|
{
|
||||||
NewWidth = screen->GetWidth();
|
NewWidth = screen->VideoWidth;
|
||||||
NewHeight = screen->GetHeight();
|
NewHeight = screen->VideoHeight;
|
||||||
NewBits = DisplayBits;
|
NewBits = DisplayBits;
|
||||||
setmodeneeded = true;
|
setmodeneeded = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue