Index: gpu/vulkan/vulkan_swap_chain.cc |
diff --git a/gpu/vulkan/vulkan_swap_chain.cc b/gpu/vulkan/vulkan_swap_chain.cc |
index 7d11e82be351679e72f67ef5c7c5125f617018ee..a42e26ed9d8234db8ad8f180093604f93f24127d 100644 |
--- a/gpu/vulkan/vulkan_swap_chain.cc |
+++ b/gpu/vulkan/vulkan_swap_chain.cc |
@@ -43,14 +43,6 @@ gfx::SwapResult VulkanSwapChain::SwapBuffers() { |
std::unique_ptr<ImageData>& current_image_data = images_[current_image_]; |
- // Default image subresource range. |
- VkImageSubresourceRange image_subresource_range = {}; |
- image_subresource_range.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; |
- image_subresource_range.baseMipLevel = 0; |
- image_subresource_range.levelCount = 1; |
- image_subresource_range.baseArrayLayer = 0; |
- image_subresource_range.layerCount = 1; |
- |
// Submit our command buffer for the current buffer. |
if (!current_image_data->command_buffer->Submit( |
1, ¤t_image_data->present_semaphore, 1, |