From 786e4c3dc3ce834002253f8c280826108f9a3225 Mon Sep 17 00:00:00 2001 From: yinsimei Date: Wed, 31 May 2017 01:11:28 +0200 Subject: SLUDGE: Refactor image loading function and apply in backdrop --- engines/sludge/graphics.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/sludge/graphics.h') diff --git a/engines/sludge/graphics.h b/engines/sludge/graphics.h index 493e6f1454..ba23d72c46 100644 --- a/engines/sludge/graphics.h +++ b/engines/sludge/graphics.h @@ -31,6 +31,8 @@ #endif #endif +#include "graphics/surface.h" + namespace Sludge { struct texture { @@ -38,7 +40,7 @@ struct texture { GLubyte *data; GLuint name; #endif - int w, h; + Graphics::Surface surface; double texW, texH; }; -- cgit v1.2.3