Skip to content

Commit

Permalink
Linux and windows should now compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Madman10K committed Oct 29, 2024
1 parent 0243e0c commit 0a1b948
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Framework/Renderer/Vulkan/VulkanTexture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ void UImGui::VulkanTexture::load(void* data, FVector2 size, uint32_t depth, cons
.addressModeU = vk::SamplerAddressMode::eRepeat,
.addressModeV = vk::SamplerAddressMode::eRepeat,
.addressModeW = vk::SamplerAddressMode::eRepeat,
.maxAnisotropy = 1.0f,
.minLod = -1000,
.maxLod = 1000,
.maxAnisotropy = 1.0f,
};
result = device.createSampler(&samplerCreateInfo, nullptr, &sampler);
if (result != vk::Result::eSuccess)
Expand Down Expand Up @@ -177,8 +177,8 @@ void UImGui::VulkanTexture::load(void* data, FVector2 size, uint32_t depth, cons
const vk::CommandBufferAllocateInfo commandBufferAllocateInfo
{
.sType = vk::StructureType::eCommandBufferAllocateInfo,
.level = vk::CommandBufferLevel::ePrimary,
.commandPool = commandPool,
.level = vk::CommandBufferLevel::ePrimary,
.commandBufferCount = 1,
};
result = device.allocateCommandBuffers(&commandBufferAllocateInfo, &commandBuffer);
Expand Down

0 comments on commit 0a1b948

Please sign in to comment.