Move terminate() call to GLFWView to avoid problems with node
This commit is contained in:
@@ -282,6 +282,9 @@ int GLFWView::run() {
|
||||
glfwWaitEvents();
|
||||
});
|
||||
|
||||
// Terminate here to save binary shaders
|
||||
map->terminate();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -250,8 +250,6 @@ void Map::run() {
|
||||
mode = Mode::None;
|
||||
fileSource.clearLoop();
|
||||
}
|
||||
|
||||
terminate();
|
||||
}
|
||||
|
||||
void Map::rerender() {
|
||||
|
||||
Reference in New Issue
Block a user