aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-02-12 17:17:28 +0000
committerEmil Velikov <[email protected]>2014-02-23 16:42:15 +0000
commit13e5daf2daf8cd7efe74782fdeca92d3114785fc (patch)
treee258a30da26f2dc1ce1165a6d5f32346f567f7bb /src
parent01814734e694031ec77a2cfdb23ec1e1efa0a1c1 (diff)
dri_util: explicitly set __DRIcopySubBufferExtension members
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/common/dri_util.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c
index 0aa997e227e..0873927de05 100644
--- a/src/mesa/drivers/dri/common/dri_util.c
+++ b/src/mesa/drivers/dri/common/dri_util.c
@@ -893,6 +893,7 @@ static void driCopySubBuffer(__DRIdrawable *pdp, int x, int y,
/* for swrast only */
const __DRIcopySubBufferExtension driCopySubBufferExtension = {
- { __DRI_COPY_SUB_BUFFER, 1 },
- .copySubBuffer = driCopySubBuffer,
+ .base = { __DRI_COPY_SUB_BUFFER, 1 },
+
+ .copySubBuffer = driCopySubBuffer,
};