aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/graphics.h
diff options
context:
space:
mode:
authoryinsimei2017-05-31 01:11:28 +0200
committerEugene Sandulenko2017-07-13 18:27:45 +0200
commit786e4c3dc3ce834002253f8c280826108f9a3225 (patch)
tree4e1e51e428e039b161bd4db45e0fe2a4dfda9185 /engines/sludge/graphics.h
parent8c59f8deac6da7fd3b46234b70ca1cea428ca1f5 (diff)
downloadscummvm-rg350-786e4c3dc3ce834002253f8c280826108f9a3225.tar.gz
scummvm-rg350-786e4c3dc3ce834002253f8c280826108f9a3225.tar.bz2
scummvm-rg350-786e4c3dc3ce834002253f8c280826108f9a3225.zip
SLUDGE: Refactor image loading function and apply in backdrop
Diffstat (limited to 'engines/sludge/graphics.h')
-rw-r--r--engines/sludge/graphics.h4
1 files changed, 3 insertions, 1 deletions
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;
};