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

This commit is contained in:
Alibek Omarov 2023-02-06 00:29:14 +03:00
parent f782d444a8
commit 634574f249

View File

@ -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 )