Skip to content

Commit

Permalink
run clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
alihuawei committed Dec 9, 2024
1 parent 4a28135 commit deaa1f3
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions samples/api/hello_triangle_1_3/hello_triangle_1_3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -649,12 +649,12 @@ void HelloTriangleV13::init_swapchain()
{
// Create an image view which we can render into.
VkImageViewCreateInfo view_info{
.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO,
.pNext = nullptr,
.flags = 0,
.image = swapchain_images[i],
.viewType = VK_IMAGE_VIEW_TYPE_2D,
.format = context.swapchain_dimensions.format,
.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO,
.pNext = nullptr,
.flags = 0,
.image = swapchain_images[i],
.viewType = VK_IMAGE_VIEW_TYPE_2D,
.format = context.swapchain_dimensions.format,
.subresourceRange = {.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT, .baseMipLevel = 0, .levelCount = 1, .baseArrayLayer = 0, .layerCount = 1}};

VkImageView image_view;
Expand Down Expand Up @@ -1245,7 +1245,6 @@ void HelloTriangleV13::update(float delta_time)
{
LOGI("Resize failed");
}

}
else if (res != VK_SUCCESS)
{
Expand Down

0 comments on commit deaa1f3

Please sign in to comment.