engine: platform: update VGUI cursor state in Platform_SetCursorType
This commit is contained in:
parent
8cbe0e5b30
commit
b35cf6e30c
1 changed files with 1 additions and 0 deletions
|
@ -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 )
|
||||
|
|
Loading…
Add table
Reference in a new issue