diff options
author | Marcus Comstedt | 2010-01-07 15:07:36 +0000 |
---|---|---|
committer | Marcus Comstedt | 2010-01-07 15:07:36 +0000 |
commit | 40f950616397dad5833751b755c11f92f4462acb (patch) | |
tree | c678ab133e8a45d689e65985636c69706f958afa /engines/cine | |
parent | 519e80ca8b57bb7b68a13cea6e83c0404fe0a414 (diff) | |
download | scummvm-rg350-40f950616397dad5833751b755c11f92f4462acb.tar.gz scummvm-rg350-40f950616397dad5833751b755c11f92f4462acb.tar.bz2 scummvm-rg350-40f950616397dad5833751b755c11f92f4462acb.zip |
The default keycolor for mouse pointers used to be 255.
This makes sense as a default for CLUT8 modes, but not really
for anything else. As part of the gsoc2009-16bit merge, the
default was changed to "all ones", with extra code in the SDL
backend to truncate this to the depth of the mode. However,
"all ones" (white) still isn't a very useful default for RGB modes.
So rather than jumping through hoops to provide a bad default,
it's better to remove the default altogether. Engines which relied
on the old default of 255 have been updated to specify it explicitly.
svn-id: r47118
Diffstat (limited to 'engines/cine')
-rw-r--r-- | engines/cine/gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cine/gfx.cpp b/engines/cine/gfx.cpp index 610afda492..e3ce658366 100644 --- a/engines/cine/gfx.cpp +++ b/engines/cine/gfx.cpp @@ -1407,7 +1407,7 @@ void setMouseCursor(int cursor) { } ++src; } - CursorMan.replaceCursor(mouseCursor, 16, 16, mc->hotspotX, mc->hotspotY); + CursorMan.replaceCursor(mouseCursor, 16, 16, mc->hotspotX, mc->hotspotY, 0xFF); CursorMan.replaceCursorPalette(cursorPalette, 0, 2); currentMouseCursor = cursor; } |