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:
parent
f6eae4aae5
commit
bf1ab2f1db
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue