From: Stas'M Date: Sun, 27 Jan 2019 10:29:59 +0000 (+0300) Subject: GUI: Make credits background darker X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=commitdiff_plain;h=b5ffc3281e9daf11586579dce6dea0707b1d4edd GUI: Make credits background darker --- 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;