aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
diff options
context:
space:
mode:
authorMatthew Hoops2009-07-09 17:25:06 +0000
committerMatthew Hoops2009-07-09 17:25:06 +0000
commitff208c5387a8566546a384afa9ab48c0a1f356a0 (patch)
treeef970cb83a022fd3c535c07860981756b784df11 /backends/platform/sdl
parenta4f3a8390068fc372a96d4473b91eb09158353ef (diff)
downloadscummvm-rg350-ff208c5387a8566546a384afa9ab48c0a1f356a0.tar.gz
scummvm-rg350-ff208c5387a8566546a384afa9ab48c0a1f356a0.tar.bz2
scummvm-rg350-ff208c5387a8566546a384afa9ab48c0a1f356a0.zip
fix compile
svn-id: r42308
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r--backends/platform/sdl/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp
index 3029f43d87..fa162a6348 100644
--- a/backends/platform/sdl/graphics.cpp
+++ b/backends/platform/sdl/graphics.cpp
@@ -1379,7 +1379,7 @@ void OSystem_SDL::warpMouse(int x, int y) {
void OSystem_SDL::setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, uint32 keycolor, int cursorTargetScale, const Graphics::PixelFormat *format) {
#ifdef ENABLE_RGB_COLOR
if (!format)
- _cursorFormat = Graphics::PixelFormat::createFormatCLUT8;
+ _cursorFormat = Graphics::PixelFormat::createFormatCLUT8();
else if (format->bytesPerPixel <= _screenFormat.bytesPerPixel)
_cursorFormat = *format;
keycolor &= (1 << (_cursorFormat.bytesPerPixel << 3)) - 1;