view src/video/nanox/SDL_nxmouse_c.h @ 1163:96ef83467667

Prevent division-by-zero in WarpMouse if surface's pitch is zero (a GL surface?).
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 30 Oct 2005 05:45:46 +0000
parents 57bf11a5efd7
children d910939febfa
line wrap: on
line source

#include "SDL_nxvideo.h"

extern WMcursor * NX_CreateWMCursor (_THIS, Uint8 * data, Uint8 * mask, int w, int h, int hot_x, int hot_y) ;
void NX_FreeWMCursor (_THIS, WMcursor * cursor) ;
extern void NX_WarpWMCursor (_THIS, Uint16 x, Uint16 y) ;
extern int NX_ShowWMCursor (_THIS, WMcursor * cursor) ;