summaryrefslogtreecommitdiff
path: root/src/main_linux.cpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@mailbox.org>2026-01-04 12:36:52 +0100
committerAldrik Ramaekers <aldrik@mailbox.org>2026-01-04 12:36:52 +0100
commit9a3cfd077013e42d4b3f788b78f45edf3b46ef07 (patch)
tree96f36ba34e47ef3d757d341f7f30d1492eca70e0 /src/main_linux.cpp
parent66a918a4621f1ecb828e68eac94fdb34852e9570 (diff)
activity list write
Diffstat (limited to 'src/main_linux.cpp')
-rw-r--r--src/main_linux.cpp8
1 files changed, 2 insertions, 6 deletions
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();