mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- Fixed: 1 pixel border was drawn when there was no status bar.
SVN r3782 (trunk)
This commit is contained in:
parent
12ef53a2ff
commit
c53a4f3ae1
1 changed files with 5 additions and 2 deletions
|
@ -1043,8 +1043,11 @@ void DBaseStatusBar::RefreshBackground () const
|
|||
|
||||
if(!CompleteBorder)
|
||||
{
|
||||
V_DrawBorder (x+1, y, SCREENWIDTH, y+1);
|
||||
V_DrawBorder (x+1, SCREENHEIGHT-1, SCREENWIDTH, SCREENHEIGHT);
|
||||
if(y < SCREENHEIGHT)
|
||||
{
|
||||
V_DrawBorder (x+1, y, SCREENWIDTH, y+1);
|
||||
V_DrawBorder (x+1, SCREENHEIGHT-1, SCREENWIDTH, SCREENHEIGHT);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue