mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
made fading border in menu more customizeable
This commit is contained in:
parent
e183a17117
commit
6e7dbec76e
BIN
data/blob.png
BIN
data/blob.png
Binary file not shown.
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 47 KiB |
|
@ -1898,7 +1898,7 @@ void CMenus::RenderBackground()
|
||||||
// render border fade
|
// render border fade
|
||||||
Graphics()->TextureSet(gs_TextureBlob);
|
Graphics()->TextureSet(gs_TextureBlob);
|
||||||
Graphics()->QuadsBegin();
|
Graphics()->QuadsBegin();
|
||||||
Graphics()->SetColor(0,0,0,0.5f);
|
Graphics()->SetColor(1,1,1,1);
|
||||||
QuadItem = IGraphics::CQuadItem(-100, -100, sw+200, sh+200);
|
QuadItem = IGraphics::CQuadItem(-100, -100, sw+200, sh+200);
|
||||||
Graphics()->QuadsDrawTL(&QuadItem, 1);
|
Graphics()->QuadsDrawTL(&QuadItem, 1);
|
||||||
Graphics()->QuadsEnd();
|
Graphics()->QuadsEnd();
|
||||||
|
|
Loading…
Reference in a new issue