Bug 5034 - q3_ui: fill whole screen and allow cursor to move to edge in widescreen, patch by Zack Middleton
This commit is contained in:
parent
45f576bd99
commit
fa3b3978f6
3 changed files with 10 additions and 12 deletions
|
@ -166,12 +166,6 @@ UI_CreditMenu
|
|||
===============
|
||||
*/
|
||||
void UI_CreditMenu( void ) {
|
||||
/* This UI_FillRect() hack will blank the borders if you're in widescreen,
|
||||
so you get a completely black background instead of stripes from the
|
||||
previous frame on each side of the credits.. */
|
||||
const float black[4] = { 0.0f, 0.0f, 0.0f, 1.0f };
|
||||
UI_FillRect(0 - uis.bias, 0, (640.0f / uis.xscale) * 2.0f, 480.0f / uis.yscale, black);
|
||||
|
||||
memset( &s_credits, 0 ,sizeof(s_credits) );
|
||||
|
||||
s_credits.menu.draw = UI_CreditMenu_Draw;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue