aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/surface.h')
-rw-r--r--engines/gob/surface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/gob/surface.h b/engines/gob/surface.h
index 9a26dbc79b..b22bfb9222 100644
--- a/engines/gob/surface.h
+++ b/engines/gob/surface.h
@@ -82,13 +82,15 @@ public:
uint16 getWidth () const;
uint16 getHeight() const;
- uint16 getBPP () const;
+ uint8 getBPP () const;
byte *getData(uint16 x = 0, uint16 y = 0);
const byte *getData(uint16 x = 0, uint16 y = 0) const;
void resize(uint16 width, uint16 height);
+ void setBPP(uint8 bpp);
+
Pixel get(uint16 x = 0, uint16 y = 0);
ConstPixel get(uint16 x = 0, uint16 y = 0) const;