diff options
author | Emil Velikov <[email protected]> | 2014-02-12 17:17:28 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-02-23 16:42:15 +0000 |
commit | 13e5daf2daf8cd7efe74782fdeca92d3114785fc (patch) | |
tree | e258a30da26f2dc1ce1165a6d5f32346f567f7bb /src/mesa/drivers/dri/common | |
parent | 01814734e694031ec77a2cfdb23ec1e1efa0a1c1 (diff) |
dri_util: explicitly set __DRIcopySubBufferExtension members
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_util.c | 5 |
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, }; |