From b35cf6e30ca4244286df690fb0a6d0ddf9be80cd Mon Sep 17 00:00:00 2001 From: SNMetamorph <25657591+SNMetamorph@users.noreply.github.com> Date: Tue, 8 Nov 2022 04:03:50 +0400 Subject: [PATCH] engine: platform: update VGUI cursor state in Platform_SetCursorType --- engine/platform/sdl/in_sdl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/platform/sdl/in_sdl.c b/engine/platform/sdl/in_sdl.c index 36b365b0..65282890 100644 --- a/engine/platform/sdl/in_sdl.c +++ b/engine/platform/sdl/in_sdl.c @@ -335,6 +335,7 @@ void Platform_SetCursorType( VGUI_DefaultCursor type ) return; host.mouse_visible = visible; + VGui_UpdateInternalCursorState( type ); #if SDL_VERSION_ATLEAST( 2, 0, 0 ) if( host.mouse_visible )