This commit is contained in:
2025-04-02 02:29:37 +09:00
parent b264c7c457
commit 178c9d9e50

View File

@@ -7,8 +7,8 @@
namespace veng { namespace veng {
Window::Window(gsl::czstring name, glm::ivec2 size) { Window::Window(gsl::czstring name, glm::ivec2 size) {
glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE); /*glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE);
glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API); glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API);*/
window_ = glfwCreateWindow(size.x, size.y, name, nullptr, nullptr); window_ = glfwCreateWindow(size.x, size.y, name, nullptr, nullptr);
if (window_ == nullptr) std::exit(EXIT_FAILURE); if (window_ == nullptr) std::exit(EXIT_FAILURE);