This commit is contained in:
2025-04-02 02:30:50 +09:00
parent 178c9d9e50
commit c6d6aab2c7
2 changed files with 3 additions and 3 deletions

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);

View File

@@ -9,7 +9,7 @@ std::int32_t main(std::int32_t argc, gsl::zstring* argv) {
const veng::GlfwInitialization _glfw; const veng::GlfwInitialization _glfw;
veng::Window window("Vulkan Engine", {800, 600}); veng::Window window("Vulkan Engine", {800, 600});
window.TryMoveToMonitor(0); //window.TryMoveToMonitor(0);
veng::Graphics graphics(&window); veng::Graphics graphics(&window);