fixed mouse cursor code to cope with CMI
svn-id: r6125
This commit is contained in:
parent
aa2a85de99
commit
0ef7d52448
2 changed files with 5 additions and 2 deletions
|
@ -400,6 +400,9 @@ void OSystem_SDL_Common::set_mouse_pos(int x, int y) {
|
|||
}
|
||||
|
||||
void OSystem_SDL_Common::set_mouse_cursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y) {
|
||||
|
||||
assert(0 < w && w <= MAX_MOUSE_W);
|
||||
assert(0 < h && h <= MAX_MOUSE_H);
|
||||
_mouseCurState.w = w;
|
||||
_mouseCurState.h = h;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue