Skip to content

Commit

Permalink
Fix compilation.
Browse files Browse the repository at this point in the history
Fix Vulkan SDK validation error.
  • Loading branch information
GPSnoopy committed Dec 25, 2023
1 parent 851f7b7 commit 2e1860d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/UserInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
#include "Vulkan/SwapChain.hpp"
#include "Vulkan/Window.hpp"

#include "imgui.h"
#include "ImGui/imgui_freetype.h"
#include "ImGui/imgui_impl_glfw.h"
#include "ImGui/imgui_impl_vulkan.h"
#include <imgui.h>
#include <imgui_freetype.h>
#include <imgui_impl_glfw.h>
#include <imgui_impl_vulkan.h>

#include <array>

Expand Down
1 change: 1 addition & 0 deletions src/Vulkan/DescriptorPool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ DescriptorPool::DescriptorPool(const Vulkan::Device& device, const std::vector<D

VkDescriptorPoolCreateInfo poolInfo = {};
poolInfo.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO;
poolInfo.flags = VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT;
poolInfo.poolSizeCount = static_cast<uint32_t>(poolSizes.size());
poolInfo.pPoolSizes = poolSizes.data();
poolInfo.maxSets = static_cast<uint32_t>(maxSets);
Expand Down

0 comments on commit 2e1860d

Please sign in to comment.