From 100805144ab212b958159a733f35a0754db8b16a Mon Sep 17 00:00:00 2001 From: Vladimir Menshakov Date: Sat, 12 Dec 2009 13:05:55 +0000 Subject: render 'on' surfaces only on mark (fixed many z-order issues) svn-id: r46341 --- engines/teenagent/surface_list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/teenagent/surface_list.h') diff --git a/engines/teenagent/surface_list.h b/engines/teenagent/surface_list.h index 08d8d074a6..1f6ca0c510 100644 --- a/engines/teenagent/surface_list.h +++ b/engines/teenagent/surface_list.h @@ -37,7 +37,7 @@ public: SurfaceList(); void load(Common::SeekableReadStream *stream, Type type, int sub_hack = 0); void free(); - Common::Rect render(Graphics::Surface *surface, int horizon, bool second_pass) const; + void render(Graphics::Surface *surface, const Common::Rect & clip) const; protected: Surface * surfaces; -- cgit v1.2.3