I’m using GLFW. At the start of my app I create a glContext and some gl objects (textures, buffers,…). It all happends in a thread apart and when I need to close my app I call in the main thread:
glfwDestroyWindow(_glContext); _glContext = nullptr; glfwTerminate();
Is it a proper way to clean up everything or should I go through my objects and do a glDelete before??