Remove unnecessary config pass

This commit is contained in:
blankie 2023-01-05 21:02:50 +07:00
parent 417addab36
commit df3ee3366f
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ static inline void logs_window(bool* show_logs_window) {
ImGui::End();
}
static inline void main_window(Config& active_config, bool* show_settings_window, bool* show_logs_window, bool* run_event_loop) {
static inline void main_window(bool* show_settings_window, bool* show_logs_window, bool* run_event_loop) {
if (!ImGui::Begin("LogMeow", run_event_loop)) {
ImGui::End();
return;
@ -127,5 +127,5 @@ void event_loop(Config& config, float* config_write_timer, bool* run_event_loop)
logs_window(&show_logs_window);
}
main_window(config, &show_settings_window, &show_logs_window, run_event_loop);
main_window(&show_settings_window, &show_logs_window, run_event_loop);
}