projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5d65b2
)
demos: Fix compile error in cube.c
author
Mike Schuchardt
<mikes@lunarg.com>
Fri, 23 Feb 2018 19:44:05 +0000
(12:44 -0700)
committer
Mike Schuchardt
<mikes@lunarg.com>
Fri, 9 Mar 2018 20:54:31 +0000
(13:54 -0700)
Change-Id: I9ff2429f6f2b79795bbc57e376decae8c0dae630
demos/cube.c
patch
|
blob
|
history
diff --git
a/demos/cube.c
b/demos/cube.c
index
a03234e
..
273951a
100644
(file)
--- 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);
}