mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-30 08:40:39 +00:00
GL rendering path audit.
This commit is contained in:
parent
8601bc905b
commit
cb0d141132
5 changed files with 6 additions and 90 deletions
|
@ -853,18 +853,6 @@ void Sbar_Draw (void)
|
|||
if (sb_showscores || sb_showteamscores ||
|
||||
cl.stats[STAT_HEALTH] <= 0)
|
||||
sb_updates = 0;
|
||||
// clear unused areas in gl
|
||||
#if 0
|
||||
{
|
||||
int x = (vid.width - 320)>>1;
|
||||
|
||||
// left
|
||||
if (x > 0) {
|
||||
Draw_TileClear (0, vid.height - sb_lines, x, sb_lines);
|
||||
Draw_TileClear (x+320, vid.height - sb_lines, vid.width - x+320, sb_lines);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (vid.width > 320 && !headsup)
|
||||
Draw_TileClear (320, vid.height - sb_lines, vid.width - 320, sb_lines);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue