Fix overdraw in CG_DrawRect
It was noticeable in the corners when alpha was less than 1.
This commit is contained in:
1 parent
1a8bf792e7
commit
a738cb9592
1 file changed
+1
-1
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user