From 4cf3aa4a2e3b018d28baf42dda264ba56902a3be Mon Sep 17 00:00:00 2001 From: Mike Schuchardt Date: Fri, 23 Feb 2018 12:44:05 -0700 Subject: demos: Fix compile error in cube.c Change-Id: I9ff2429f6f2b79795bbc57e376decae8c0dae630 --- demos/cube.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/demos/cube.c b/demos/cube.c index a03234ea..273951a3 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -787,7 +787,10 @@ static void demo_draw_build_cmd(struct demo *demo, VkCommandBuffer cmd_buf) { label.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT; label.pNext = NULL; label.pLabelName = "ActualDraw"; - label.color = {-0.4f, -0.3f, -0.2f, -0.1f}; + label.color[0] = -0.4f; + label.color[1] = -0.3f; + label.color[2] = -0.2f; + label.color[3] = -0.1f; demo->CmdBeginDebugUtilsLabelEXT(cmd_buf, &label); } -- cgit v1.2.3