Re: [AD] Using system mouse cursor |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Friday 27 August 2004 02:06, Peter Wang wrote:
> I found a fix. In the GET_PIXEL_DATA macro change:
> a=0;
> to:
> a=r=g=b=0;
Ah, ok. I'm not sure I understand why this is nescessary, but I'll make the
change. Thanks.
> BTW, you don't seem to be setting the GFX_HW_CURSOR capability anywhere.
There's no need: show_mouse() from src/mouse.c does this automatically if
the gfx_driver has a show_mouse() method and this can be called
succesfully (ie, it returns 0 when called).
Evert