mirror of
https://github.com/scummvm/scummvm.git
synced 2026-11-18 21:34:48 +00:00
SWORD25: Bugfix to set _backSurface in alternate GLImage constructor
svn-id: r53294
This commit is contained in:
1 parent
7a2142b8d6
commit
ffce890f66
1 file changed
+2
@@ -100,6 +100,8 @@ GLImage::GLImage(unsigned int Width, unsigned int Height, bool &Result) :
|
||||
|
||||
_data = new byte[Width * Height * 4];
|
||||
|
||||
_backSurface = (static_cast<GraphicEngine *>(Kernel::GetInstance()->GetService("gfx")))->getSurface();
|
||||
|
||||
Result = true;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user