[Scummvm-cvs-logs] SF.net SVN: scummvm:[42308] scummvm/branches/gsoc2009-16bit/backends/ platform/sdl/graphics.cpp
mthreepwood at users.sourceforge.net
mthreepwood at users.sourceforge.net
Thu Jul 9 19:25:07 CEST 2009
Revision: 42308
http://scummvm.svn.sourceforge.net/scummvm/?rev=42308&view=rev
Author: mthreepwood
Date: 2009-07-09 17:25:06 +0000 (Thu, 09 Jul 2009)
Log Message:
-----------
fix compile
Modified Paths:
--------------
scummvm/branches/gsoc2009-16bit/backends/platform/sdl/graphics.cpp
Modified: scummvm/branches/gsoc2009-16bit/backends/platform/sdl/graphics.cpp
===================================================================
--- scummvm/branches/gsoc2009-16bit/backends/platform/sdl/graphics.cpp 2009-07-09 16:33:56 UTC (rev 42307)
+++ scummvm/branches/gsoc2009-16bit/backends/platform/sdl/graphics.cpp 2009-07-09 17:25:06 UTC (rev 42308)
@@ -1379,7 +1379,7 @@
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list