diff --git a/std/n8std/GLFW.cc b/std/n8std/GLFW.cc index 65ea556..9913e8b 100644 --- a/std/n8std/GLFW.cc +++ b/std/n8std/GLFW.cc @@ -24,3 +24,8 @@ N8_FUNC(glfw_init) { return DynamicObject(glfwInit() == 1); } + +N8_FUNC(glfw_terminate) { + glfwTerminate(); + return DynamicObject(); +} diff --git a/std/n8std/GLFW.hpp b/std/n8std/GLFW.hpp index b020633..2533d74 100644 --- a/std/n8std/GLFW.hpp +++ b/std/n8std/GLFW.hpp @@ -29,6 +29,7 @@ N8_LIB_START N8_FUNC(glfw_init); +N8_FUNC(glfw_terminate); N8_LIB_END