diff options
author | Emil Velikov <[email protected]> | 2014-02-12 18:21:46 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-02-23 16:42:16 +0000 |
commit | 73b35b913e62c8d3f7d670fce272adf14e3f73f4 (patch) | |
tree | 35bb8d50619d547523adda820587e770c7084dde /src/mesa/drivers/dri/radeon | |
parent | 8b45bc0ad518114bf6d585d1a9738a7e3768d5c9 (diff) |
drivers/dri: explicitly set __DRI2flushExtension members
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>y
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_screen.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index 57e866ebb24..90251db3e64 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -192,9 +192,10 @@ radeonDRI2Flush(__DRIdrawable *drawable) } static const struct __DRI2flushExtensionRec radeonFlushExtension = { - { __DRI2_FLUSH, 3 }, - radeonDRI2Flush, - dri2InvalidateDrawable, + .base = { __DRI2_FLUSH, 3 }, + + .flush = radeonDRI2Flush, + .invalidate = dri2InvalidateDrawable, }; static __DRIimage * |