Emscripten: Deactivated custom cursor support because it created system cursors.
authorPhilipp Wiesemann
Fri, 11 Mar 2016 22:10:35 +0100
changeset 101154f54ed649bf7
parent 10114 6740b15172f0
child 10116 418691d83f6a
Emscripten: Deactivated custom cursor support because it created system cursors.
src/video/emscripten/SDL_emscriptenmouse.c
     1.1 --- a/src/video/emscripten/SDL_emscriptenmouse.c	Fri Mar 11 22:10:15 2016 +0100
     1.2 +++ b/src/video/emscripten/SDL_emscriptenmouse.c	Fri Mar 11 22:10:35 2016 +0100
     1.3 @@ -58,11 +58,13 @@
     1.4      return cursor;
     1.5  }
     1.6  
     1.7 +/*
     1.8  static SDL_Cursor*
     1.9  Emscripten_CreateCursor(SDL_Surface* sruface, int hot_x, int hot_y)
    1.10  {
    1.11      return Emscripten_CreateDefaultCursor();
    1.12  }
    1.13 +*/
    1.14  
    1.15  static SDL_Cursor*
    1.16  Emscripten_CreateSystemCursor(SDL_SystemCursor id)
    1.17 @@ -200,7 +202,9 @@
    1.18  {
    1.19      SDL_Mouse* mouse = SDL_GetMouse();
    1.20  
    1.21 +/*
    1.22      mouse->CreateCursor         = Emscripten_CreateCursor;
    1.23 +*/ 
    1.24      mouse->ShowCursor           = Emscripten_ShowCursor;
    1.25      mouse->FreeCursor           = Emscripten_FreeCursor;
    1.26      mouse->WarpMouse            = Emscripten_WarpMouse;