Cleaned up code

This commit is contained in:
Pasha Bibko
2025-11-16 17:25:03 +00:00
parent f4e77e30a8
commit e887b2b393
4 changed files with 57 additions and 42 deletions

View File

@@ -5,7 +5,7 @@
namespace PB::Renderer
{
void CleanupAllAndExit(int code)
void CleanupAllAndExit(const int code)
{
if (!GLFWManager::Cleanup())
std::exit(EXIT_FAILURE);
@@ -38,7 +38,7 @@ int main()
{
glfwPollEvents();
if (!VulkanManager::RenderPass(window))
if (!VulkanManager::RenderPass())
CleanupAllAndExit(EXIT_FAILURE);
}