DEADSOFTWARE

GUI: Make credits background darker
authorStas'M <x86corez@gmail.com>
Sun, 27 Jan 2019 10:29:59 +0000 (13:29 +0300)
committerStas'M <x86corez@gmail.com>
Sun, 27 Jan 2019 10:29:59 +0000 (13:29 +0300)
src/game/g_gui.pas

index d50e9a6d7f1e1931c261a95b1178aebefa2dc8a8..bc33eff23182b207e972b384473ce25778cfdf70 100644 (file)
@@ -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;