From aadf46f0666120a942842dbee8a3d4d87d992b12 Mon Sep 17 00:00:00 2001 From: pupbrained Date: Mon, 30 Sep 2024 21:34:25 -0400 Subject: [PATCH] more things --- src/main.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index b68f92c..8b001d3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,11 +1,6 @@ -#define GLFW_INCLUDE_NONE -#define GLFW_INCLUDE_VULKAN -#include -#include #include #include #include -#include #ifdef __APPLE__ #define VK_ENABLE_BETA_EXTENSIONS @@ -69,7 +64,7 @@ class VulkanApp { vkfw::WindowHints hints; hints.clientAPI = vkfw::ClientAPI::eNone; - hints.resizable = false; + hints.resizable = vkfw::eFalse; mWindow = vkfw::createWindowUnique(WIDTH, HEIGHT, "Vulkan", hints); } @@ -276,7 +271,7 @@ class VulkanApp { ) -> vk::Bool32 { fmt::println("Validation layer: {}", pCallbackData->pMessage); - return VK_FALSE; + return vk::False; } };