From 9eec824c9124879240d5516fb882c24385f91639 Mon Sep 17 00:00:00 2001 From: "Paul m. p. Peny" Date: Sun, 11 Dec 2022 14:38:09 +0100 Subject: [PATCH] hg::DisableCursor() on SDL is not implemented but is required for wasm static linking. --- harfang/platform/sdl/window_system.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/harfang/platform/sdl/window_system.cpp b/harfang/platform/sdl/window_system.cpp index c233c1b..de35660 100644 --- a/harfang/platform/sdl/window_system.cpp +++ b/harfang/platform/sdl/window_system.cpp @@ -189,6 +189,7 @@ hg::Vec2 GetWindowContentScale(const Window *window) { void ShowCursor() { SDL_ShowCursor(SDL_ENABLE); } void HideCursor() { SDL_ShowCursor(SDL_DISABLE); } +void DisableCursor() { SDL_ShowCursor(SDL_DISABLE); } void WindowSystemShutdown() { } } // namespace hg