summaryrefslogtreecommitdiffstats
path: root/examples/vulkan/hellovulkantexture
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vulkan/hellovulkantexture')
-rw-r--r--examples/vulkan/hellovulkantexture/hellovulkantexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vulkan/hellovulkantexture/hellovulkantexture.cpp b/examples/vulkan/hellovulkantexture/hellovulkantexture.cpp
index 543eb7884a..ffe1a31442 100644
--- a/examples/vulkan/hellovulkantexture/hellovulkantexture.cpp
+++ b/examples/vulkan/hellovulkantexture/hellovulkantexture.cpp
@@ -768,7 +768,7 @@ void VulkanRenderer::startNextFrame()
// Add the necessary barriers and do the host-linear -> device-optimal copy, if not yet done.
ensureTexture();
- VkClearColorValue clearColor = { 0, 0, 0, 1 };
+ VkClearColorValue clearColor = {{ 0, 0, 0, 1 }};
VkClearDepthStencilValue clearDS = { 1, 0 };
VkClearValue clearValues[2];
memset(clearValues, 0, sizeof(clearValues));