Skip to content

Commit

Permalink
Emscripten: Deactivated custom cursor support because it created syst…
Browse files Browse the repository at this point in the history
…em cursors.
  • Loading branch information
philippwiesemann committed Mar 11, 2016
1 parent 676041a commit 19f1855
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/video/emscripten/SDL_emscriptenmouse.c
Expand Up @@ -58,11 +58,13 @@ Emscripten_CreateDefaultCursor()
return cursor;
}

/*
static SDL_Cursor*
Emscripten_CreateCursor(SDL_Surface* sruface, int hot_x, int hot_y)
{
return Emscripten_CreateDefaultCursor();
}
*/

static SDL_Cursor*
Emscripten_CreateSystemCursor(SDL_SystemCursor id)
Expand Down Expand Up @@ -200,7 +202,9 @@ Emscripten_InitMouse()
{
SDL_Mouse* mouse = SDL_GetMouse();

/*
mouse->CreateCursor = Emscripten_CreateCursor;
*/
mouse->ShowCursor = Emscripten_ShowCursor;
mouse->FreeCursor = Emscripten_FreeCursor;
mouse->WarpMouse = Emscripten_WarpMouse;
Expand Down

0 comments on commit 19f1855

Please sign in to comment.