aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/msurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/msurface.h')
-rw-r--r--engines/mads/msurface.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/mads/msurface.h b/engines/mads/msurface.h
index fe6d1f22b4..42c56e9393 100644
--- a/engines/mads/msurface.h
+++ b/engines/mads/msurface.h
@@ -87,14 +87,15 @@ public:
*/
static int scaleValue(int value, int scale, int err);
public:
- virtual ~MSurface() {}
+ /**
+ * Destructor
+ */
+ virtual ~MSurface();
/**
* Reinitialises a surface to have a given set of dimensions
*/
- void setSize(int width, int height) {
- Graphics::Surface::create(width, height, Graphics::PixelFormat::createFormatCLUT8());
- }
+ void setSize(int width, int height);
/**
* Sets the color used for drawing on the surface