aboutsummaryrefslogtreecommitdiff
path: root/saga/gfx.h
diff options
context:
space:
mode:
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;
};