mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fixed fading of text borders correctly
This commit is contained in:
parent
08c4c8e0b7
commit
c36819b18d
|
@ -977,7 +977,7 @@ float gfx_text_raw(void *font_set_v, float x, float y, float size, const char *t
|
||||||
|
|
||||||
gfx_quads_begin();
|
gfx_quads_begin();
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
gfx_setcolor(0.0f, 0.0f, 0.0f, 0.3f);
|
gfx_setcolor(0.0f, 0.0f, 0.0f, 0.3f*text_a);
|
||||||
else
|
else
|
||||||
gfx_setcolor(text_r, text_g, text_b, text_a);
|
gfx_setcolor(text_r, text_g, text_b, text_a);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue