From cb49537609fe256ca2543c8181be7a5e301b9937 Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Thu, 29 Jan 2015 14:24:14 -0600 Subject: xgl: Fix pMemBarriers references Arrays of MemBarrier pointers were incorrectly declared. Reference bug #13273, for xgl header rev #42. --- include/xgl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 -- cgit v1.2.3