aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2015-01-29 14:24:14 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-02-04 17:58:10 -0700
commitcb49537609fe256ca2543c8181be7a5e301b9937 (patch)
treef54ad34dae14cf24794de385a4e70ce2e5240cc3
parentc4fffc7c6f3b4ae4cc1f969c2d0985091fe41adb (diff)
downloadusermoji-cb49537609fe256ca2543c8181be7a5e301b9937.tar.xz
xgl: Fix pMemBarriers references
Arrays of MemBarrier pointers were incorrectly declared. Reference bug #13273, for xgl header rev #42.
-rw-r--r--include/xgl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xgl.h b/include/xgl.h
index a7b2c6ce..1c1bf314 100644
--- a/include/xgl.h
+++ b/include/xgl.h
@@ -1642,7 +1642,7 @@ typedef struct _XGL_EVENT_WAIT_INFO
XGL_WAIT_EVENT waitEvent; // Pipeline event where the wait should happen
uint32_t memBarrierCount; // Number of memory barriers
- const void* pMemBarriers; // Array of pointers to memory barriers (any of them can be either XGL_MEMORY_BARRIER, XGL_BUFFER_MEMORY_BARRIER, or XGL_IMAGE_MEMORY_BARRIER)
+ const void** pMemBarriers; // Array of pointers to memory barriers (any of them can be either XGL_MEMORY_BARRIER, XGL_BUFFER_MEMORY_BARRIER, or XGL_IMAGE_MEMORY_BARRIER)
} XGL_EVENT_WAIT_INFO;
typedef struct _XGL_PIPELINE_BARRIER
@@ -1656,7 +1656,7 @@ typedef struct _XGL_PIPELINE_BARRIER
XGL_WAIT_EVENT waitEvent; // Pipeline event where the wait should happen
uint32_t memBarrierCount; // Number of memory barriers
- const void* pMemBarriers; // Array of pointers to memory barriers (any of them can be either XGL_MEMORY_BARRIER, XGL_BUFFER_MEMORY_BARRIER, or XGL_IMAGE_MEMORY_BARRIER)
+ const void** pMemBarriers; // Array of pointers to memory barriers (any of them can be either XGL_MEMORY_BARRIER, XGL_BUFFER_MEMORY_BARRIER, or XGL_IMAGE_MEMORY_BARRIER)
} XGL_PIPELINE_BARRIER;
typedef struct _XGL_MEMORY_BARRIER