Emscripten: Deactivated custom cursor support because it created system cursors.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Fri, 11 Mar 2016 22:10:35 +0100
changeset 10115 4f54ed649bf7
parent 10114 6740b15172f0
child 10116 418691d83f6a
Emscripten: Deactivated custom cursor support because it created system cursors.
src/video/emscripten/SDL_emscriptenmouse.c
--- a/src/video/emscripten/SDL_emscriptenmouse.c	Fri Mar 11 22:10:15 2016 +0100
+++ b/src/video/emscripten/SDL_emscriptenmouse.c	Fri Mar 11 22:10:35 2016 +0100
@@ -58,11 +58,13 @@
     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)
@@ -200,7 +202,9 @@
 {
     SDL_Mouse* mouse = SDL_GetMouse();
 
+/*
     mouse->CreateCursor         = Emscripten_CreateCursor;
+*/ 
     mouse->ShowCursor           = Emscripten_ShowCursor;
     mouse->FreeCursor           = Emscripten_FreeCursor;
     mouse->WarpMouse            = Emscripten_WarpMouse;