aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/wincesdl/wincesdl-graphics.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2012-06-16 03:10:43 +0200
committerJohannes Schickel2012-06-16 03:28:42 +0200
commitd27d951d0b079a301ea1c6a3731bc1fc83234cff (patch)
tree89ba167aa2060ef72e2d33aa3536380852926f5d /backends/graphics/wincesdl/wincesdl-graphics.cpp
parent58bf8090cc760cd3c02724ae4479494d3b3a2cc1 (diff)
downloadscummvm-rg350-d27d951d0b079a301ea1c6a3731bc1fc83234cff.tar.gz
scummvm-rg350-d27d951d0b079a301ea1c6a3731bc1fc83234cff.tar.bz2
scummvm-rg350-d27d951d0b079a301ea1c6a3731bc1fc83234cff.zip
BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.
This is mainly for consistency with OSystem::copyRectToScreen.
Diffstat (limited to 'backends/graphics/wincesdl/wincesdl-graphics.cpp')
-rw-r--r--backends/graphics/wincesdl/wincesdl-graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/graphics/wincesdl/wincesdl-graphics.cpp b/backends/graphics/wincesdl/wincesdl-graphics.cpp
index 2315c582e2..13d52bcd25 100644
--- a/backends/graphics/wincesdl/wincesdl-graphics.cpp
+++ b/backends/graphics/wincesdl/wincesdl-graphics.cpp
@@ -1129,7 +1129,7 @@ void WINCESdlGraphicsManager::copyRectToScreen(const void *buf, int pitch, int x
SDL_UnlockSurface(_screen);
}
-void WINCESdlGraphicsManager::setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, uint32 keycolor, bool dontScale, const Graphics::PixelFormat *format) {
+void WINCESdlGraphicsManager::setMouseCursor(const void *buf, uint w, uint h, int hotspot_x, int hotspot_y, uint32 keycolor, bool dontScale, const Graphics::PixelFormat *format) {
undrawMouse();
if (w == 0 || h == 0)