Skip to content

Commit 0a1b948

Browse files
committed
Linux and windows should now compile
1 parent 0243e0c commit 0a1b948

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Framework/Renderer/Vulkan/VulkanTexture.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ void UImGui::VulkanTexture::load(void* data, FVector2 size, uint32_t depth, cons
103103
.addressModeU = vk::SamplerAddressMode::eRepeat,
104104
.addressModeV = vk::SamplerAddressMode::eRepeat,
105105
.addressModeW = vk::SamplerAddressMode::eRepeat,
106+
.maxAnisotropy = 1.0f,
106107
.minLod = -1000,
107108
.maxLod = 1000,
108-
.maxAnisotropy = 1.0f,
109109
};
110110
result = device.createSampler(&samplerCreateInfo, nullptr, &sampler);
111111
if (result != vk::Result::eSuccess)
@@ -177,8 +177,8 @@ void UImGui::VulkanTexture::load(void* data, FVector2 size, uint32_t depth, cons
177177
const vk::CommandBufferAllocateInfo commandBufferAllocateInfo
178178
{
179179
.sType = vk::StructureType::eCommandBufferAllocateInfo,
180-
.level = vk::CommandBufferLevel::ePrimary,
181180
.commandPool = commandPool,
181+
.level = vk::CommandBufferLevel::ePrimary,
182182
.commandBufferCount = 1,
183183
};
184184
result = device.allocateCommandBuffers(&commandBufferAllocateInfo, &commandBuffer);

0 commit comments

Comments
 (0)