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"