File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ ExitStatus App::Application::run() {
112
112
if (ImGui::BeginMenu (" View" )) {
113
113
ImGui::MenuItem (" Some Panel" , nullptr , &m_show_some_panel);
114
114
ImGui::MenuItem (" ImGui Demo Panel" , nullptr , &m_show_demo_panel);
115
- ImGui::MenuItem (" Debug Panel " , nullptr , &m_show_debug_panel);
115
+ ImGui::MenuItem (" Debug Panels " , nullptr , &m_show_debug_panel);
116
116
ImGui::EndMenu ();
117
117
}
118
118
@@ -133,7 +133,10 @@ ExitStatus App::Application::run() {
133
133
134
134
// Debug panel
135
135
if (m_show_debug_panel) {
136
- ImGui::Begin (" Debug panel" , &m_show_debug_panel);
136
+ ImGui::ShowMetricsWindow ();
137
+ ImGui::ShowDebugLogWindow ();
138
+
139
+ ImGui::Begin (" App debug panel" , &m_show_debug_panel);
137
140
ImGui::Text (" User config path: %s" , user_config_path.c_str ());
138
141
ImGui::Separator ();
139
142
ImGui::Text (" Font path: %s" , font_path.c_str ());
Original file line number Diff line number Diff line change @@ -22,8 +22,7 @@ Window::Window(const Settings& settings) {
22
22
size.height ,
23
23
window_flags);
24
24
25
- auto renderer_flags{
26
- static_cast <SDL_RendererFlags>(SDL_RENDERER_PRESENTVSYNC | SDL_RENDERER_ACCELERATED)};
25
+ Uint32 renderer_flags{SDL_RENDERER_PRESENTVSYNC | SDL_RENDERER_ACCELERATED};
27
26
m_renderer = SDL_CreateRenderer (m_window, -1 , renderer_flags);
28
27
29
28
if (m_renderer == nullptr ) {
You can’t perform that action at this time.
0 commit comments