aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/graphics/graphics.h')
-rw-r--r--backends/graphics/graphics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/graphics/graphics.h b/backends/graphics/graphics.h
index 0d6fa30418..056e894a46 100644
--- a/backends/graphics/graphics.h
+++ b/backends/graphics/graphics.h
@@ -60,7 +60,7 @@ public:
virtual int16 getWidth() = 0;
virtual void setPalette(const byte *colors, uint start, uint num) = 0;
virtual void grabPalette(byte *colors, uint start, uint num) = 0;
- virtual void copyRectToScreen(const byte *buf, int pitch, int x, int y, int w, int h) = 0;
+ virtual void copyRectToScreen(const void *buf, int pitch, int x, int y, int w, int h) = 0;
virtual Graphics::Surface *lockScreen() = 0;
virtual void unlockScreen() = 0;
virtual void fillScreen(uint32 col) = 0;