aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/surface.h
diff options
context:
space:
mode:
authorChristoph Mallon2011-08-06 13:21:38 +0200
committerChristoph Mallon2011-08-07 15:19:08 +0200
commita5675c3dbe799acf6ced70ba9e83cdd88252bce9 (patch)
treefada35dbb2738e21bb4140c3588266cf024263a5 /engines/teenagent/surface.h
parent0e6751372a80716cadddd926eeb6965ae6c00a44 (diff)
downloadscummvm-rg350-a5675c3dbe799acf6ced70ba9e83cdd88252bce9.tar.gz
scummvm-rg350-a5675c3dbe799acf6ced70ba9e83cdd88252bce9.tar.bz2
scummvm-rg350-a5675c3dbe799acf6ced70ba9e83cdd88252bce9.zip
TEENAGENT: Pass streams as references.
Diffstat (limited to 'engines/teenagent/surface.h')
-rw-r--r--engines/teenagent/surface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/surface.h b/engines/teenagent/surface.h
index 5f74176c68..64e45a7330 100644
--- a/engines/teenagent/surface.h
+++ b/engines/teenagent/surface.h
@@ -40,7 +40,7 @@ public:
Surface();
~Surface();
- void load(Common::SeekableReadStream *stream, Type type);
+ void load(Common::SeekableReadStream&, Type type);
Common::Rect render(Graphics::Surface *surface, int dx = 0, int dy = 0, bool mirror = false, Common::Rect src_rect = Common::Rect(), uint zoom = 256) const;
bool empty() const { return pixels == NULL; }