From 74f729109e24a507507b41f1e863c9a4a4a0e9a2 Mon Sep 17 00:00:00 2001 From: Andrii Date: Mon, 31 Aug 2020 17:16:40 +0300 Subject: [PATCH] Set blendmode on background render --- src/game/client/components/menus.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index 1386a4633..136ceea37 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -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;