mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-26 14:01:26 +00:00
Fix overdraw in CG_DrawRect
It was noticeable in the corners when alpha was less than 1.
This commit is contained in:
parent
1a8bf792e7
commit
a738cb9592
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ void CG_DrawRect( float x, float y, float width, float height, float size, const
|
|||
trap_R_SetColor( color );
|
||||
|
||||
CG_DrawTopBottom(x, y, width, height, size);
|
||||
CG_DrawSides(x, y, width, height, size);
|
||||
CG_DrawSides(x, y + size, width, height - size * 2, size);
|
||||
|
||||
trap_R_SetColor( NULL );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue