Skip to content

Commit 8c01b45

Browse files
committed
Reduced indentation
1 parent 033c51f commit 8c01b45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

en/06_Texture_mapping/00_Images.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,9 @@ Create the function and move the image object creation and memory allocation to
230230
----
231231
void createImage(uint32_t width, uint32_t height, vk::Format format, vk::ImageTiling tiling, vk::ImageUsageFlags usage, vk::MemoryPropertyFlags properties, vk::raii::Image& image, vk::raii::DeviceMemory& imageMemory) {
232232
vk::ImageCreateInfo imageInfo{ .imageType = vk::ImageType::e2D, .format = format,
233-
.extent = {width, height, 1}, .mipLevels = 1, .arrayLayers = 1,
234-
.samples = vk::SampleCountFlagBits::e1, .tiling = tiling,
235-
.usage = usage, .sharingMode = vk::SharingMode::eExclusive };
233+
.extent = {width, height, 1}, .mipLevels = 1, .arrayLayers = 1,
234+
.samples = vk::SampleCountFlagBits::e1, .tiling = tiling,
235+
.usage = usage, .sharingMode = vk::SharingMode::eExclusive };
236236
237237
image = vk::raii::Image( device, imageInfo );
238238

0 commit comments

Comments
 (0)