From b5ffc3281e9daf11586579dce6dea0707b1d4edd Mon Sep 17 00:00:00 2001 From: Stas'M Date: Sun, 27 Jan 2019 13:29:59 +0300 Subject: [PATCH] GUI: Make credits background darker --- src/game/g_gui.pas | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/g_gui.pas b/src/game/g_gui.pas index d50e9a6..bc33eff 100644 --- a/src/game/g_gui.pas +++ b/src/game/g_gui.pas @@ -820,6 +820,10 @@ begin else e_Clear(GL_COLOR_BUFFER_BIT, 0.5, 0.5, 0.5); + // small hack here + if FName = 'AuthorsMenu' then + e_DarkenQuadWH(0, 0, gScreenWidth, gScreenHeight, 150); + for i := 0 to High(Childs) do if Childs[i] <> nil then Childs[i].Draw; end; -- 2.29.2