aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Schuchardt <mikes@lunarg.com>2018-02-23 12:44:05 -0700
committerMike Schuchardt <mikes@lunarg.com>2018-03-09 13:54:31 -0700
commit4cf3aa4a2e3b018d28baf42dda264ba56902a3be (patch)
tree149e2e9dab80c3f903a9f00b0eb54e9df202e754
parentd5d65b2ed1d7c883f04749778363fadc444e040d (diff)
downloadusermoji-4cf3aa4a2e3b018d28baf42dda264ba56902a3be.tar.xz
demos: Fix compile error in cube.c
Change-Id: I9ff2429f6f2b79795bbc57e376decae8c0dae630
-rw-r--r--demos/cube.c5
1 files changed, 4 insertions, 1 deletions
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);
}