Fix some whitespace

This commit is contained in:
Petr Kraus 2020-02-07 18:28:20 +01:00
parent 67f1c2904c
commit 2a986b6a87
3 changed files with 75 additions and 77 deletions

View file

@ -182,8 +182,7 @@ public:
std::string name = "vulkanExample";
uint32_t apiVersion = VK_API_VERSION_1_0;
struct
{
struct {
VkImage image;
VkDeviceMemory mem;
VkImageView view;

View file

@ -49,8 +49,7 @@ public:
} vertices;
// Index buffer
struct
{
struct {
VkDeviceMemory memory;
VkBuffer buffer;
uint32_t count;
@ -873,7 +872,7 @@ public:
rasterizationState.lineWidth = 1.0f;
// Color blend state describes how blend factors are calculated (if used)
// We need one blend attachment state per color attachment (even if blending is not used
// We need one blend attachment state per color attachment (even if blending is not used)
VkPipelineColorBlendAttachmentState blendAttachmentState[1] = {};
blendAttachmentState[0].colorWriteMask = 0xf;
blendAttachmentState[0].blendEnable = VK_FALSE;