From 5e44256fe87d78abe282190fb8a41745f8115c5b Mon Sep 17 00:00:00 2001 From: Leith Bade Date: Fri, 16 Jan 2015 09:50:05 +1100 Subject: Move terminate() call to GLFWView to avoid problems with node --- platform/default/glfw_view.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'platform') diff --git a/platform/default/glfw_view.cpp b/platform/default/glfw_view.cpp index 6446a54abb..3d0d38c0b1 100644 --- a/platform/default/glfw_view.cpp +++ b/platform/default/glfw_view.cpp @@ -282,6 +282,9 @@ int GLFWView::run() { glfwWaitEvents(); }); + // Terminate here to save binary shaders + map->terminate(); + return 0; } -- cgit v1.2.1