DEADSOFTWARE

gl: shade titlepic in main menu
[d2df-sdl.git] / src / game / renders / opengl / r_render.pas
index 3c2cd6fefbc27760a0871ea29e28a5e707400d8b..bfd0d826ec3a157f2b92d05a5aec88552e54b992 100644 (file)
@@ -1188,7 +1188,14 @@ implementation
       // TODO F key handle
       case gState of
         STATE_NONE: (* do nothing *) ;
-        STATE_MENU: r_Common_DrawBackground(GameWad + ':TEXTURES/TITLE');
+        STATE_MENU:
+        begin
+          r_Common_DrawBackground(GameWad + ':TEXTURES/TITLE');
+          {$IFDEF ENABLE_MENU}
+            if g_ActiveWindow <> nil then
+              r_Draw_FillRect(0, 0, gScreenWidth, gScreenHeight, 0, 0, 0, 105);
+          {$ENDIF}
+        end;
         STATE_FOLD:
         begin
           if EndingGameCounter > 0 then