mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 13:41:33 +01: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
|
||||
GL_SetRenderMode( kRenderNormal );
|
||||
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 )
|
||||
return; // nothing to draw
|
||||
|
Loading…
Reference in New Issue
Block a user