From 19627a6cb20e4fdd9a2801a8af2212a86a71d4fa Mon Sep 17 00:00:00 2001 From: gibbed Date: Tue, 8 Aug 2017 01:40:07 -0500 Subject: [PATCH] GPU: Cast various flags to bool in IssueCopy. Fixes #773. --- src/xenia/gpu/vulkan/vulkan_command_processor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/gpu/vulkan/vulkan_command_processor.cc b/src/xenia/gpu/vulkan/vulkan_command_processor.cc index ccbc5d413..83386abc9 100644 --- a/src/xenia/gpu/vulkan/vulkan_command_processor.cc +++ b/src/xenia/gpu/vulkan/vulkan_command_processor.cc @@ -1164,7 +1164,7 @@ bool VulkanCommandProcessor::IssueCopy() { {{0, 0}, {resolve_extent.width, resolve_extent.height}}, view->GetSize(), texture->format, resolve_offset, resolve_extent, texture->framebuffer, filter, is_color_source, - copy_regs->copy_dest_info.copy_dest_swap); + static_cast(copy_regs->copy_dest_info.copy_dest_swap)); // Pull the tile view back to a color attachment. std::swap(image_barrier.srcAccessMask, image_barrier.dstAccessMask);