From 19f18558ac5d0ca441a3096f4d03d9c69174ca29 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Fri, 11 Mar 2016 22:10:35 +0100 Subject: [PATCH] Emscripten: Deactivated custom cursor support because it created system cursors. --- src/video/emscripten/SDL_emscriptenmouse.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/video/emscripten/SDL_emscriptenmouse.c b/src/video/emscripten/SDL_emscriptenmouse.c index 2a68dd95c..512ad2220 100644 --- a/src/video/emscripten/SDL_emscriptenmouse.c +++ b/src/video/emscripten/SDL_emscriptenmouse.c @@ -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) @@ -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;