Implement black bar drawing for loading and cutscenes. (#298)

This commit is contained in:
Skyth (Asilkan)
2025-02-07 00:30:08 +03:00
committed by GitHub
parent 47b1f20679
commit 9549ba54aa
5 changed files with 100 additions and 1 deletions
+2
View File
@@ -26,6 +26,7 @@
#include <ui/message_window.h>
#include <ui/options_menu.h>
#include <ui/game_window.h>
#include <ui/black_bar.h>
#include <patches/aspect_ratio_patches.h>
#include <user/config.h>
#include <sdl_listener.h>
@@ -2318,6 +2319,7 @@ static void DrawImGui()
MessageWindow::Draw();
ButtonGuide::Draw();
Fader::Draw();
BlackBar::Draw();
assert(ImGui::GetForegroundDrawList()->_ClipRectStack.Size == 1 && "Some clip rects were not removed from the stack!");