Skip to content

Commit

Permalink
Added group
Browse files Browse the repository at this point in the history
  • Loading branch information
denis authored and denis committed Nov 24, 2024
1 parent 565a4c6 commit efc25ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engine/src/GlobalData/PrismaFunc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit efc25ae

Please sign in to comment.