mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
- fix last commit - somehow it pushed an old version of the fix (yet again?...) - this is the proper fix.
This commit is contained in:
parent
dae83f989b
commit
45d5eac6ad
1 changed files with 1 additions and 3 deletions
|
@ -64,8 +64,6 @@
|
||||||
#include "textures.h"
|
#include "textures.h"
|
||||||
#include "vm.h"
|
#include "vm.h"
|
||||||
|
|
||||||
EXTERN_CVAR(Int, screenblocks)
|
|
||||||
|
|
||||||
CUSTOM_CVAR(Int, uiscale, 0, CVAR_ARCHIVE | CVAR_NOINITCALL)
|
CUSTOM_CVAR(Int, uiscale, 0, CVAR_ARCHIVE | CVAR_NOINITCALL)
|
||||||
{
|
{
|
||||||
if (self < 0)
|
if (self < 0)
|
||||||
|
@ -77,7 +75,7 @@ CUSTOM_CVAR(Int, uiscale, 0, CVAR_ARCHIVE | CVAR_NOINITCALL)
|
||||||
{
|
{
|
||||||
StatusBar->CallScreenSizeChanged();
|
StatusBar->CallScreenSizeChanged();
|
||||||
}
|
}
|
||||||
R_SetViewSize(screenblocks);
|
setsizeneeded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
int GetUIScale(int altval)
|
int GetUIScale(int altval)
|
||||||
|
|
Loading…
Reference in a new issue