From 5c5d004a66c51d05a98215e5494445dbcb14585f Mon Sep 17 00:00:00 2001 From: Mars Date: Mon, 18 Nov 2024 17:45:41 -0500 Subject: [PATCH] what --- src/init/vulkan_instance.cpp | 2 -- src/main.cpp | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/init/vulkan_instance.cpp b/src/init/vulkan_instance.cpp index f000f5a..8771801 100644 --- a/src/init/vulkan_instance.cpp +++ b/src/init/vulkan_instance.cpp @@ -6,8 +6,6 @@ #include "../util/constants.hpp" -VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE - using namespace constants; fn VulkanInstance::create() -> vk::UniqueInstance { diff --git a/src/main.cpp b/src/main.cpp index 62a5b66..0f45f7e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,6 +20,8 @@ #define VULKAN_HPP_NO_CONSTRUCTORS // Use aggregate initialization for Vulkan structs #include // Include Vulkan C++ bindings +VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE + // Include custom utility headers #include "camera/camera.hpp" // Camera class #include "init/debug_messenger.hpp"