Context window is now header only

This commit is contained in:
Pcornat 2026-01-07 23:15:22 +01:00
commit 1c6e844401
Signed by: Pcornat
GPG key ID: E0326CC678A00BDD
3 changed files with 10 additions and 19 deletions

View file

@ -1,16 +0,0 @@
#include "context_window.hpp"
#include <GLFW/glfw3.h>
namespace window {
ContextWindow::~ContextWindow() noexcept {
glfwTerminate();
}
ContextWindow::ContextWindow(const GLFWerrorfun error_clbk) noexcept {
glfwSetErrorCallback(error_clbk);
if (glfwInit() == GLFW_FALSE) {
init = false;
}
init = true;
}
} // window