revert a useless hack for Mac (the bug was already fixed)

This commit is contained in:
Ali El Gariani 2007-07-25 16:04:18 +00:00
parent 6532cc57d8
commit 20920d2537

View file

@ -168,20 +168,6 @@ void set(CURSOR_TYPE type)
const CURSOR_TYPE new_cursor = use_colour_cursors() && colour_ready ? cursor::NO_CURSOR : current_cursor;
#ifdef __APPLE__
// we use the evil SDL_ShowCursor because, on this OS,
// the transparent cursor trick works outside the
// window too, but this is not wanted since our color
// cursors can't work there
bool show = new_cursor != cursor::NO_CURSOR || preferences::fullscreen();
if (show != SDL_ShowCursor(SDL_QUERY))
SDL_ShowCursor(show);
if (!show)
return;
#endif
SDL_Cursor * cursor_image = get_cursor(new_cursor);
// cause problem on mac: