Browse Source

engine: platform: sdl: don't enable text mode with cursor???

pull/2/head
Alibek Omarov 2 years ago
parent
commit
634574f249
  1. 2
      engine/platform/sdl/in_sdl.c

2
engine/platform/sdl/in_sdl.c

@ -343,12 +343,10 @@ void Platform_SetCursorType( VGUI_DefaultCursor type )
{ {
SDL_SetCursor( cursors.cursors[type] ); SDL_SetCursor( cursors.cursors[type] );
SDL_ShowCursor( true ); SDL_ShowCursor( true );
Key_EnableTextInput( true, false );
} }
else else
{ {
SDL_ShowCursor( false ); SDL_ShowCursor( false );
Key_EnableTextInput( false, false );
} }
#else #else
if( host.mouse_visible ) if( host.mouse_visible )

Loading…
Cancel
Save