aboutsummaryrefslogtreecommitdiff
path: root/saga/gfx.h
diff options
context:
space:
mode:
authorMax Horn2004-10-30 22:13:48 +0000
committerMax Horn2004-10-30 22:13:48 +0000
commit06c46fe423616f516648c67279f5c204398a2bd2 (patch)
tree3eefdc9ab17691a9ecfa4230e5505243ac246c54 /saga/gfx.h
parent926cfc5bd25df0194095227ddf1587d3a6ffc7f0 (diff)
downloadscummvm-rg350-06c46fe423616f516648c67279f5c204398a2bd2.tar.gz
scummvm-rg350-06c46fe423616f516648c67279f5c204398a2bd2.tar.bz2
scummvm-rg350-06c46fe423616f516648c67279f5c204398a2bd2.zip
Let Saga::SURFACE inherit from SURFACE
svn-id: r15702
Diffstat (limited to 'saga/gfx.h')
-rw-r--r--saga/gfx.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/saga/gfx.h b/saga/gfx.h
index b281f21f0a..b99881d0c9 100644
--- a/saga/gfx.h
+++ b/saga/gfx.h
@@ -26,6 +26,8 @@
#ifndef SAGA_GFX_H_
#define SAGA_GFX_H_
+#include <graphics/surface.h>
+
namespace Saga {
using Common::Point;
@@ -60,11 +62,7 @@ struct COLOR {
int alpha;
};
-struct SURFACE {
- byte *buf;
- int buf_w;
- int buf_h;
- int buf_pitch;
+struct SURFACE : Graphics::Surface {
Rect clip_rect;
};