mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-23 09:19:55 +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;
|
||||
if (_active)
|
||||
flags |= kWindowBorderActive;
|
||||
if (!_title.empty())
|
||||
if (!_title.empty() && _borderType != 0x02 && _borderType != 0x03 && _borderType != 0x0a && _borderType != 0x0b)
|
||||
flags |= kWindowBorderTitle;
|
||||
if (_hasScrollBar)
|
||||
flags |= kWindowBorderScrollbar;
|
||||
|
Loading…
Reference in New Issue
Block a user