diff options
Diffstat (limited to 'engines/wintermute/Base/BSurfaceStorage.cpp')
-rw-r--r-- | engines/wintermute/Base/BSurfaceStorage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/Base/BSurfaceStorage.cpp b/engines/wintermute/Base/BSurfaceStorage.cpp index 56b59f714a..64bc3daac6 100644 --- a/engines/wintermute/Base/BSurfaceStorage.cpp +++ b/engines/wintermute/Base/BSurfaceStorage.cpp @@ -28,7 +28,7 @@ #include "engines/wintermute/dcgf.h"
#include "engines/wintermute/Base/BSurfaceStorage.h"
-#include "engines/wintermute/Base/BSurfaceSDL.h"
+#include "engines/wintermute/Base/gfx/base_surface.h"
#include "engines/wintermute/Base/BGame.h"
#include "engines/wintermute/Base/BFileManager.h"
#include "engines/wintermute/PlatformSDL.h"
@@ -114,7 +114,7 @@ CBSurface *CBSurfaceStorage::addSurface(const char *filename, bool defaultCK, by }
CBSurface *surface;
- surface = new CBSurfaceSDL(_gameRef);
+ surface = _gameRef->_renderer->createSurface();
if (!surface) return NULL;
|