mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-26 19:00:47 +00:00
MACGUI: Fix getBorderFlags for titleless window types
Fixes rendering of game viewport in Zeddas: Servant of Sheol.
This commit is contained in:
parent
183e257235
commit
a205480946
@ -202,7 +202,7 @@ uint32 MacWindow::getBorderFlags() const {
|
|||||||
uint32 flags = 0;
|
uint32 flags = 0;
|
||||||
if (_active)
|
if (_active)
|
||||||
flags |= kWindowBorderActive;
|
flags |= kWindowBorderActive;
|
||||||
if (!_title.empty())
|
if (!_title.empty() && _borderType != 0x02 && _borderType != 0x03 && _borderType != 0x0a && _borderType != 0x0b)
|
||||||
flags |= kWindowBorderTitle;
|
flags |= kWindowBorderTitle;
|
||||||
if (_hasScrollBar)
|
if (_hasScrollBar)
|
||||||
flags |= kWindowBorderScrollbar;
|
flags |= kWindowBorderScrollbar;
|
||||||
|
Loading…
Reference in New Issue
Block a user