Fix console background aspect ratio

This commit is contained in:
mittorn 2018-12-06 03:00:39 +07:00
parent 298393b653
commit 4b58b0b168

View File

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