From e35b4f20c1041b13361aa2ebc4e758873bb1cee3 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sun, 7 Aug 2011 14:35:01 +0200 Subject: GRAPHICS: Simplify the interface of Graphics::loadThumbnail(). Now it returns the Surface, so the caller does not need to create one and pass it. --- graphics/thumbnail.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/thumbnail.h') diff --git a/graphics/thumbnail.h b/graphics/thumbnail.h index 452125cb47..babc35bd5f 100644 --- a/graphics/thumbnail.h +++ b/graphics/thumbnail.h @@ -53,7 +53,7 @@ bool skipThumbnail(Common::SeekableReadStream &in); * The loaded thumbnail will be automatically converted to the * current overlay pixelformat. */ -bool loadThumbnail(Common::SeekableReadStream &in, Graphics::Surface &to); +Graphics::Surface* loadThumbnail(Common::SeekableReadStream &in); /** * Saves a thumbnail to the given write stream. -- cgit v1.2.3