DEADSOFTWARE

gl: draw pause screen
[d2df-sdl.git] / src / game / renders / opengl / r_render.pas
index 26fd93e7b0ff41a1525eec2c79d5b346640a342c..d445dcb6a3f5ada784171cc44353140ab4d3ba7c 100644 (file)
@@ -1026,7 +1026,8 @@ implementation
 
     if gPauseMain and gGameOn {$IFDEF ENABLE_MENU}and (g_ActiveWindow = nil){$ENDIF} then
     begin
-      // TODO draw pause screen
+      r_Draw_FillRect(0, 0, gScreenWidth - 1, gScreenHeight - 1, 0, 0, 0, 105);
+      r_Common_DrawText(_lc[I_MENU_PAUSE], gScreenWidth div 2, gScreenHeight div 2, 255, 255, 255, 255, menufont, TBasePoint.BP_CENTER);
     end;
 
     if not gGameOn then