mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: platform: update VGUI cursor state in Platform_SetCursorType
This commit is contained in:
parent
8cbe0e5b30
commit
b35cf6e30c
@ -335,6 +335,7 @@ void Platform_SetCursorType( VGUI_DefaultCursor type )
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
host.mouse_visible = visible;
|
host.mouse_visible = visible;
|
||||||
|
VGui_UpdateInternalCursorState( type );
|
||||||
|
|
||||||
#if SDL_VERSION_ATLEAST( 2, 0, 0 )
|
#if SDL_VERSION_ATLEAST( 2, 0, 0 )
|
||||||
if( host.mouse_visible )
|
if( host.mouse_visible )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user