mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Emscripten: Deactivated custom cursor support because it created system cursors.
This commit is contained in:
parent
676041aa16
commit
19f18558ac
@ -58,11 +58,13 @@ Emscripten_CreateDefaultCursor()
|
|||||||
return cursor;
|
return cursor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
static SDL_Cursor*
|
static SDL_Cursor*
|
||||||
Emscripten_CreateCursor(SDL_Surface* sruface, int hot_x, int hot_y)
|
Emscripten_CreateCursor(SDL_Surface* sruface, int hot_x, int hot_y)
|
||||||
{
|
{
|
||||||
return Emscripten_CreateDefaultCursor();
|
return Emscripten_CreateDefaultCursor();
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
static SDL_Cursor*
|
static SDL_Cursor*
|
||||||
Emscripten_CreateSystemCursor(SDL_SystemCursor id)
|
Emscripten_CreateSystemCursor(SDL_SystemCursor id)
|
||||||
@ -200,7 +202,9 @@ Emscripten_InitMouse()
|
|||||||
{
|
{
|
||||||
SDL_Mouse* mouse = SDL_GetMouse();
|
SDL_Mouse* mouse = SDL_GetMouse();
|
||||||
|
|
||||||
|
/*
|
||||||
mouse->CreateCursor = Emscripten_CreateCursor;
|
mouse->CreateCursor = Emscripten_CreateCursor;
|
||||||
|
*/
|
||||||
mouse->ShowCursor = Emscripten_ShowCursor;
|
mouse->ShowCursor = Emscripten_ShowCursor;
|
||||||
mouse->FreeCursor = Emscripten_FreeCursor;
|
mouse->FreeCursor = Emscripten_FreeCursor;
|
||||||
mouse->WarpMouse = Emscripten_WarpMouse;
|
mouse->WarpMouse = Emscripten_WarpMouse;
|
||||||
|
Loading…
Reference in New Issue
Block a user