diff options
author | Paul Gilbert | 2010-06-07 09:35:59 +0000 |
---|---|---|
committer | Paul Gilbert | 2010-06-07 09:35:59 +0000 |
commit | b2678ddf52117773bf08bed260a6512464e286aa (patch) | |
tree | c96eeed89153879ebdb5111c5ba676badc57986b /engines | |
parent | 34f7c05e4dd0e7cd3f84576f57593d034f666d31 (diff) | |
download | scummvm-rg350-b2678ddf52117773bf08bed260a6512464e286aa.tar.gz scummvm-rg350-b2678ddf52117773bf08bed260a6512464e286aa.tar.bz2 scummvm-rg350-b2678ddf52117773bf08bed260a6512464e286aa.zip |
Changed a create call to setSize to fix compiler error
svn-id: r49479
Diffstat (limited to 'engines')
-rw-r--r-- | engines/m4/mads_anim.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/mads_anim.cpp b/engines/m4/mads_anim.cpp index 7709b65780..4400dbf094 100644 --- a/engines/m4/mads_anim.cpp +++ b/engines/m4/mads_anim.cpp @@ -578,7 +578,7 @@ void AnimviewView::readNextCommand() { _activeAnimation->load(_currentLine, 0); _backgroundSurface.loadBackground(_activeAnimation->roomNumber()); - _codeSurface.create(_backgroundSurface.width(), _backgroundSurface.height(), 1); + _codeSurface.setSize(_backgroundSurface.width(), _backgroundSurface.height()); _codeSurface.clear(); _spriteSlots.fullRefresh(); |