mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-18 11:00:33 +00:00
Fix console background aspect ratio
This commit is contained in:
parent
298393b653
commit
4b58b0b168
@ -2026,7 +2026,7 @@ void Con_DrawSolidConsole( int lines )
|
|||||||
// draw the background
|
// draw the background
|
||||||
GL_SetRenderMode( kRenderNormal );
|
GL_SetRenderMode( kRenderNormal );
|
||||||
pglColor4ub( 255, 255, 255, 255 ); // to prevent grab color from screenfade
|
pglColor4ub( 255, 255, 255, 255 ); // to prevent grab color from screenfade
|
||||||
R_DrawStretchPic( 0, lines - glState.height, glState.width, glState.height, 0, 0, 1, 1, con.background );
|
R_DrawStretchPic( 0, lines - glState.width * 3 / 4, glState.width, glState.width * 3 / 4, 0, 0, 1, 1, con.background );
|
||||||
|
|
||||||
if( !con.curFont || !host.allow_console )
|
if( !con.curFont || !host.allow_console )
|
||||||
return; // nothing to draw
|
return; // nothing to draw
|
||||||
|
Loading…
x
Reference in New Issue
Block a user