[Commits] SDL: Emscripten: Deactivated custom cursor support because it cr...

libsdl.org revision control commits-owner at libsdl.org
Fri Mar 11 13:22:04 PST 2016


details:   https://hg.libsdl.org/SDL/rev/4f54ed649bf7
changeset: 10115:4f54ed649bf7
user:      Philipp Wiesemann <philipp.wiesemann at arcor.de>
date:      Fri Mar 11 22:10:35 2016 +0100
description:
Emscripten: Deactivated custom cursor support because it created system cursors.

diffstat:

 src/video/emscripten/SDL_emscriptenmouse.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (27 lines):

diff -r 6740b15172f0 -r 4f54ed649bf7 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;


More information about the commits mailing list