mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Set blendmode on background render
This commit is contained in:
parent
c05e22d291
commit
74f729109e
|
@ -2102,6 +2102,8 @@ void CMenus::OnRender()
|
|||
|
||||
void CMenus::RenderBackground()
|
||||
{
|
||||
Graphics()->BlendNormal();
|
||||
|
||||
float sw = 300*Graphics()->ScreenAspect();
|
||||
float sh = 300;
|
||||
Graphics()->MapScreen(0, 0, sw, sh);
|
||||
|
@ -2178,7 +2180,6 @@ void CMenus::RenderUpdating(const char *pCaption, int current, int total)
|
|||
CUIRect Screen = *UI()->Screen();
|
||||
Graphics()->MapScreen(Screen.x, Screen.y, Screen.w, Screen.h);
|
||||
|
||||
Graphics()->BlendNormal();
|
||||
RenderBackground();
|
||||
|
||||
float w = 700;
|
||||
|
|
Loading…
Reference in a new issue