From 51fd528fe56e00466255d54e1e71b19f34729bfd Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Thu, 30 Sep 2010 13:02:16 +0000 Subject: GOB: Change all drawing to use class Surface svn-id: r52947 --- engines/gob/gob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/gob/gob.cpp') diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp index 9ca773c18f..63625acbd9 100644 --- a/engines/gob/gob.cpp +++ b/engines/gob/gob.cpp @@ -580,7 +580,7 @@ bool GobEngine::initGraphics() { _global->_mouseMaxX = _width; _global->_mouseMaxY = _height; - _global->_primarySurfDesc = SurfaceDescPtr(new SurfaceDesc(_mode, _width, _height)); + _global->_primarySurfDesc = SurfacePtr(new Surface(_width, _height, 1)); return true; } -- cgit v1.2.3