src/events/SDL_mouse.c
changeset 5981 75caa8a7d559
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
equal deleted inserted replaced
5980:612b41c44af1 5981:75caa8a7d559
   347 
   347 
   348 SDL_Cursor *
   348 SDL_Cursor *
   349 SDL_CreateCursor(const Uint8 * data, const Uint8 * mask,
   349 SDL_CreateCursor(const Uint8 * data, const Uint8 * mask,
   350                  int w, int h, int hot_x, int hot_y)
   350                  int w, int h, int hot_x, int hot_y)
   351 {
   351 {
   352     SDL_Mouse *mouse = SDL_GetMouse();
       
   353     SDL_Surface *surface;
   352     SDL_Surface *surface;
   354     SDL_Cursor *cursor;
   353     SDL_Cursor *cursor;
   355     int x, y;
   354     int x, y;
   356     Uint32 *pixel;
   355     Uint32 *pixel;
   357     Uint8 datab = 0, maskb = 0;
   356     Uint8 datab = 0, maskb = 0;