mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 11:20:56 +00:00
WINTERMUTE: Fix int vs int32 discrepancy
This commit is contained in:
parent
1b35e66c01
commit
4747708353
@ -2505,7 +2505,7 @@ Wintermute::TShadowType AdGame::getMaxShadowType(Wintermute::BaseObject *object)
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool AdGame::getLayerSize(int *layerWidth, int *layerHeight, Rect32 *viewport, bool *customViewport) {
|
||||
if (_scene && _scene->_mainLayer) {
|
||||
int portX, portY, portWidth, portHeight;
|
||||
int32 portX, portY, portWidth, portHeight;
|
||||
_scene->getViewportOffset(&portX, &portY);
|
||||
_scene->getViewportSize(&portWidth, &portHeight);
|
||||
*customViewport = _sceneViewport || _scene->_viewport;
|
||||
|
Loading…
Reference in New Issue
Block a user