mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- fixed: changing 'uiscale' did not always update the screen size properly.
This commit is contained in:
parent
69e7bb57d4
commit
dae83f989b
1 changed files with 3 additions and 0 deletions
|
@ -64,6 +64,8 @@
|
|||
#include "textures.h"
|
||||
#include "vm.h"
|
||||
|
||||
EXTERN_CVAR(Int, screenblocks)
|
||||
|
||||
CUSTOM_CVAR(Int, uiscale, 0, CVAR_ARCHIVE | CVAR_NOINITCALL)
|
||||
{
|
||||
if (self < 0)
|
||||
|
@ -75,6 +77,7 @@ CUSTOM_CVAR(Int, uiscale, 0, CVAR_ARCHIVE | CVAR_NOINITCALL)
|
|||
{
|
||||
StatusBar->CallScreenSizeChanged();
|
||||
}
|
||||
R_SetViewSize(screenblocks);
|
||||
}
|
||||
|
||||
int GetUIScale(int altval)
|
||||
|
|
Loading…
Reference in a new issue