diff options
Diffstat (limited to 'engines/sci/graphics/cache.cpp')
-rw-r--r-- | engines/sci/graphics/cache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/graphics/cache.cpp b/engines/sci/graphics/cache.cpp index 778a0c2ed2..c3c0c034ab 100644 --- a/engines/sci/graphics/cache.cpp +++ b/engines/sci/graphics/cache.cpp @@ -73,12 +73,12 @@ Font *GfxCache::getFont(GuiResourceId fontId) { return _cachedFonts[fontId]; } -View *GfxCache::getView(GuiResourceId viewId) { +GfxView *GfxCache::getView(GuiResourceId viewId) { if (_cachedViews.size() >= MAX_CACHED_VIEWS) purgeViewCache(); if (!_cachedViews.contains(viewId)) - _cachedViews[viewId] = new View(_resMan, _screen, _palette, viewId); + _cachedViews[viewId] = new GfxView(_resMan, _screen, _palette, viewId); return _cachedViews[viewId]; } |