aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorMax Horn2003-08-24 00:40:55 +0000
committerMax Horn2003-08-24 00:40:55 +0000
commite8cd4604411127250a24c402527ee887a89af38e (patch)
tree4ba8052ca49dc3a0556330a2ff33c5251fc4be3e /sword2
parentac3ee2684e2f0c3b424d0212dc09024be6402ee9 (diff)
downloadscummvm-rg350-e8cd4604411127250a24c402527ee887a89af38e.tar.gz
scummvm-rg350-e8cd4604411127250a24c402527ee887a89af38e.tar.bz2
scummvm-rg350-e8cd4604411127250a24c402527ee887a89af38e.zip
work around compiler bug in GCC 2.95.x
svn-id: r9836
Diffstat (limited to 'sword2')
-rw-r--r--sword2/driver/driver96.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sword2/driver/driver96.h b/sword2/driver/driver96.h
index 8dd25de649..3adb16cacd 100644
--- a/sword2/driver/driver96.h
+++ b/sword2/driver/driver96.h
@@ -1265,15 +1265,15 @@ public:
_width = width;
_height = height;
_pixels = (byte *) calloc(_width, _height);
- };
-
- ~Surface() {
- free(_pixels);
- };
+ }
void clear();
void blit(Surface *s, ScummVM::Rect *r);
void blit(Surface *s, ScummVM::Rect *r, ScummVM::Rect *clip_rect);
+
+ ~Surface() {
+ free(_pixels);
+ }
};
//