diff options
| -rw-r--r-- | backends/platform/sdl/graphics.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp index 27f32ee8d2..3029f43d87 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(1,8,8,8,8,0,0,0,0); +		_cursorFormat = Graphics::PixelFormat::createFormatCLUT8;  	else if (format->bytesPerPixel <= _screenFormat.bytesPerPixel)  		_cursorFormat = *format;  	keycolor &= (1 << (_cursorFormat.bytesPerPixel << 3)) - 1; | 
