Ignore:
Timestamp:
Jun 29, 2010, 2:27:18 PM (10 years ago)
Author:
sam
Message:

Add a sprite following the mouse.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/video.cpp

    r18 r21  
    5454
    5555    SDL_WM_SetCaption(title, NULL);
     56    SDL_ShowCursor(0);
     57    SDL_WM_GrabInput(SDL_GRAB_ON);
    5658
    5759    /* Initialise OpenGL */
Note: See TracChangeset for help on using the changeset viewer.