Handling window minimizing

This commit is contained in:
Dynamitos committed 2023-12-28 21:42:18 +01:00
1 parent e18254ec29
commit 4b58ab84be
21 files changed
+109 -76

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ Matrix4 Viewport::getProjectionMatrix() const
{
if (fieldOfView > 0.0f)
{
return glm::perspective(fieldOfView, sizeX / static_cast<float>(sizeY), 0.1f, 1000.0f);
return glm::perspective(fieldOfView, sizeX / static_cast<float>(sizeY), 0.1f, 10000.0f);
}
else
{