diff options
Diffstat (limited to 'src/main_linux.cpp')
| -rw-r--r-- | src/main_linux.cpp | 8 |
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(); |
