I use a custom rendered mouse in my game so I hide the regular system mouse.
On Windows I do a combination of scare_mouse and a show_mouse(NULL).
On Linux, I do a show_os_cursor(MOUSE_CURSOR_NONE).
On Mac, I can't seem to hide the mouse cursor regardless of what combination of Allegro mouse handling calls I make. I've had this problem with Allegro 4.2.0, 4.2.1 and the latest 4.2.2.
Does anyone have any suggestions on how I can get the Mac mouse cursor to hide?
show_os_cursor(MOUSE_CURSOR_NONE) should work everywhere, no need for platform specifics for that. You need platform specific code for the other way around though, since e.g. under Windows, you normally won't get a system cursor in fullscreen modes.
Does exmouse work for you?
Pete
I'll check out exmouse tonight, Peter and see what the results are.
Is this the same as this one
http://www.allegro.cc/forums/thread/592589/688836#target
i.e. it only occurs in 32bit fullscreen?
I'm going to look into it. I think this came up a while ago, didn't it...
Pete
-- -- -- -- -- -- -- --
[edit] Can you try the attached patch?