aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-02-25 12:49:04 -0700
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-02-25 17:15:47 -0700
commit621f336102c2b6a26edfa398a20da31ddd109aa7 (patch)
tree88e523200e95013b9243aa208b5361d758d94192
parentc53adfc4bb7f49135cec130ddfb1a25844467a23 (diff)
downloadusermoji-621f336102c2b6a26edfa398a20da31ddd109aa7.tar.xz
demos: Be sure to initialize pNext
-rw-r--r--demos/tri.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/tri.c b/demos/tri.c
index fb8281ca..2f5603da 100644
--- a/demos/tri.c
+++ b/demos/tri.c
@@ -598,6 +598,7 @@ static void demo_prepare_textures(struct demo *demo)
XGL_SET_EVENT set_events[] = { XGL_SET_EVENT_GPU_COMMANDS_COMPLETE };
XGL_PIPELINE_BARRIER pipeline_barrier;
pipeline_barrier.sType = XGL_STRUCTURE_TYPE_PIPELINE_BARRIER;
+ pipeline_barrier.pNext = NULL;
pipeline_barrier.eventCount = 1;
pipeline_barrier.pEvents = set_events;
pipeline_barrier.waitEvent = XGL_WAIT_EVENT_TOP_OF_PIPE;