[SDL] Mouse Cursor Trails
nbs at sonic.net
Thu Aug 26 12:03:39 PDT 2004
On Fri, Aug 27, 2004 at 12:22:21AM +0530, MNH wrote:
> the following function puts a bitmap(cross-hair) where the current mouse
> pointer is on the surface. So the idea is to move the cross-hair when we move
This has nothing to do with your problem, but why do you load the BMP
and free it _every_ time the mouse moves!?!?!?
Load it once (beginning of program), free it once (end of program),
and _only_ blit it when the mouse moves. Don't load/free, too!!!
More information about the SDL