Browse Source

engine: platform: update VGUI cursor state in Platform_SetCursorType

pull/2/head
SNMetamorph 2 years ago committed by Alibek Omarov
parent
commit
b35cf6e30c
  1. 1
      engine/platform/sdl/in_sdl.c

1
engine/platform/sdl/in_sdl.c

@ -335,6 +335,7 @@ void Platform_SetCursorType( VGUI_DefaultCursor type ) @@ -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…
Cancel
Save