engine: platform: update VGUI cursor state in Platform_SetCursorType

This commit is contained in:
SNMetamorph 2022-11-08 04:03:50 +04:00 committed by Alibek Omarov
parent 8cbe0e5b30
commit b35cf6e30c

View File

@ -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 )