SWORD25: Bugfix to set _backSurface in alternate GLImage constructor

svn-id: r53294
This commit is contained in:
Paul Gilbert authored and Eugene Sandulenko committed 2010-10-12 23:19:41 +00:00
1 parent 7a2142b8d6
commit ffce890f66
1 file changed
+2
+2
View File
@@ -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;
}