From 372bbaeef708f35e07e269bda7292285a89f2bf0 Mon Sep 17 00:00:00 2001 From: Cody Northrop Date: Tue, 4 Aug 2015 11:51:03 -0600 Subject: v144: Bug 14292 - Rename VkRenderPassBeginInfo::attachmentCount to clearValueCount --- demos/cube.c | 4 ++-- demos/tri.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'demos') 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; diff --git a/demos/tri.c b/demos/tri.c index b9e4e02b..1a4e5b32 100644 --- a/demos/tri.c +++ b/demos/tri.c @@ -355,8 +355,8 @@ static void demo_draw_build_cmd(struct demo *demo) .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; -- cgit v1.2.3