mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: client: vgui: fix vgui viewport height being limited at 480 pixels
This commit is contained in:
parent
023f6712f9
commit
a894ca60c6
@ -203,7 +203,7 @@ void VGui_Startup( int width, int height )
|
|||||||
if( !vgui.initialized )
|
if( !vgui.initialized )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
height = Q_min( 480, height );
|
height = Q_max( 480, height );
|
||||||
|
|
||||||
if( width <= 640 ) width = 640;
|
if( width <= 640 ) width = 640;
|
||||||
else if( width <= 800 ) width = 800;
|
else if( width <= 800 ) width = 800;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user