aboutsummaryrefslogtreecommitdiff
path: root/demos/cube.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/cube.c')
-rw-r--r--demos/cube.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/cube.c b/demos/cube.c
index bb07c186..e64bf0a7 100644
--- a/demos/cube.c
+++ b/demos/cube.c
@@ -515,8 +515,8 @@ static void demo_draw_build_cmd(struct demo *demo, VkCmdBuffer cmd_buf)
.renderArea.offset.y = 0,
.renderArea.extent.width = demo->width,
.renderArea.extent.height = demo->height,
- .attachmentCount = 2,
- .pAttachmentClearValues = clear_values,
+ .clearValueCount = 2,
+ .pClearValues = clear_values,
};
VkResult U_ASSERT_ONLY err;