mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: platform: update VGUI cursor state in Platform_SetCursorType
This commit is contained in:
committed by
Alibek Omarov
parent
8cbe0e5b30
commit
b35cf6e30c
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user