From efc25aed9500009eb5960b47e104fc30ae483611 Mon Sep 17 00:00:00 2001 From: denis Date: Sun, 24 Nov 2024 17:42:30 +0100 Subject: [PATCH] Added group --- Engine/src/GlobalData/PrismaFunc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/src/GlobalData/PrismaFunc.cpp b/Engine/src/GlobalData/PrismaFunc.cpp index cc49680..b9ce5e7 100644 --- a/Engine/src/GlobalData/PrismaFunc.cpp +++ b/Engine/src/GlobalData/PrismaFunc.cpp @@ -74,7 +74,7 @@ Prisma::PrismaFunc::PrismaFunc() const GLFWvidmode* mode = glfwGetVideoMode(glfwGetPrimaryMonitor()); - if (settings.width < mode->width && settings.height < mode->height) + if (settings.width <= mode->width && settings.height <= mode->height) { m_window = glfwCreateWindow(settings.width, settings.height, settings.name.c_str(), nullptr, nullptr); }