From 9a3cfd077013e42d4b3f788b78f45edf3b46ef07 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 4 Jan 2026 12:36:52 +0100 Subject: activity list write --- src/main_linux.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/main_linux.cpp') diff --git a/src/main_linux.cpp b/src/main_linux.cpp index 867073a..1d05aff 100644 --- a/src/main_linux.cpp +++ b/src/main_linux.cpp @@ -114,18 +114,14 @@ int main(int argc, char** argv) glClearColor(clear_color.x * clear_color.w, clear_color.y * clear_color.w, clear_color.z * clear_color.w, clear_color.w); glClear(GL_COLOR_BUFFER_BIT); - // If you are using this code with non-legacy OpenGL header/contexts (which you should not, prefer using imgui_impl_opengl3.cpp!!), - // you may need to backup/reset/restore other state, e.g. for current shader using the commented lines below. - //GLint last_program; - //glGetIntegerv(GL_CURRENT_PROGRAM, &last_program); - //glUseProgram(0); ImGui_ImplOpenGL2_RenderDrawData(ImGui::GetDrawData()); - //glUseProgram(last_program); glfwMakeContextCurrent(window); glfwSwapBuffers(window); } + administration_writer::save_activities_blocking(); + administration_writer::destroy(); timer_lib_shutdown(); administration::destroy(); -- cgit v1.2.3-70-g09d2