engine: client: vgui: fix vgui viewport height being limited at 480 pixels

This commit is contained in:
Alibek Omarov 2022-11-16 22:05:31 +03:00
parent 023f6712f9
commit a894ca60c6
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ void VGui_Startup( int width, int height )
if( !vgui.initialized )
return;
height = Q_min( 480, height );
height = Q_max( 480, height );
if( width <= 640 ) width = 640;
else if( width <= 800 ) width = 800;