From 4b58b0b168ee4c73ee89cc11080b3363894df7a4 Mon Sep 17 00:00:00 2001 From: mittorn Date: Thu, 6 Dec 2018 03:00:39 +0700 Subject: [PATCH] Fix console background aspect ratio --- engine/client/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/console.c b/engine/client/console.c index 7e8c9656..d0200e69 100644 --- a/engine/client/console.c +++ b/engine/client/console.c @@ -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