Make _mouseKeyColor a uint32 when USE_RGB_COLOR is defined to fix key color with some cursors when using a >8bpp cursor.

svn-id: r45929
This commit is contained in:
Matthew Hoops 2009-11-15 21:49:03 +00:00
parent f6eae4aae5
commit bf1ab2f1db

View file

@ -401,7 +401,11 @@ protected:
byte *_mouseData;
SDL_Rect _mouseBackup;
MousePos _mouseCurState;
#ifdef USE_RGB_COLOR
uint32 _mouseKeyColor;
#else
byte _mouseKeyColor;
#endif
int _cursorTargetScale;
bool _cursorPaletteDisabled;
SDL_Surface *_mouseOrigSurface;