Set blendmode on background render

This commit is contained in:
Andrii 2020-08-31 17:16:40 +03:00
parent c05e22d291
commit 74f729109e

View file

@ -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;