mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
- fixed a problems with BeginHUD clobbering gST_Y.
The code involved is a total mess and needs some cleanup.
This commit is contained in:
parent
e8ba1156af
commit
cd94d0927a
1 changed files with 1 additions and 1 deletions
|
@ -510,7 +510,7 @@ DEFINE_ACTION_FUNCTION(DBaseStatusBar, BeginStatusBar)
|
||||||
|
|
||||||
void DBaseStatusBar::BeginHUD(int resW, int resH, double Alpha, bool forcescaled)
|
void DBaseStatusBar::BeginHUD(int resW, int resH, double Alpha, bool forcescaled)
|
||||||
{
|
{
|
||||||
SetSize(0, resW, resH); // this intentionally resets the relative top to force the caller to go through BeginStatusBar and not just reset some variables.
|
SetSize(RelTop, resW, resH);
|
||||||
this->Alpha = Alpha;
|
this->Alpha = Alpha;
|
||||||
ForcedScale = forcescaled;
|
ForcedScale = forcescaled;
|
||||||
CompleteBorder = false;
|
CompleteBorder = false;
|
||||||
|
|
Loading…
Reference in a new issue