diff options
Diffstat (limited to 'engines/gargoyle/window_mask.cpp')
-rw-r--r-- | engines/gargoyle/window_mask.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/gargoyle/window_mask.cpp b/engines/gargoyle/window_mask.cpp index b3b629b50f..6c857899d0 100644 --- a/engines/gargoyle/window_mask.cpp +++ b/engines/gargoyle/window_mask.cpp @@ -24,6 +24,7 @@ #include "gargoyle/conf.h" #include "gargoyle/gargoyle.h" #include "gargoyle/windows.h" +#include "common/system.h" namespace Gargoyle { @@ -32,6 +33,7 @@ int WindowMask::_lastY; WindowMask::WindowMask() : _hor(0), _ver(0), _links(nullptr) { _lastX = _lastY = 0; + resize(g_system->getWidth(), g_system->getHeight()); } void WindowMask::resize(size_t x, size_t y) { |