aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/surface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/surface.cpp')
-rw-r--r--engines/sherlock/surface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sherlock/surface.cpp b/engines/sherlock/surface.cpp
index 9214a75ded..80495a398c 100644
--- a/engines/sherlock/surface.cpp
+++ b/engines/sherlock/surface.cpp
@@ -179,10 +179,10 @@ void Surface::free() {
}
}
-void Surface::setPixels(byte *pixels, int w, int h) {
+void Surface::setPixels(byte *pixels, int width, int height) {
_surface.format = Graphics::PixelFormat::createFormatCLUT8();
- _surface.w = _surface.pitch = w;
- _surface.h = h;
+ _surface.w = _surface.pitch = width;
+ _surface.h = height;
_surface.setPixels(pixels);
}