aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/graphics.h
diff options
context:
space:
mode:
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;
};