diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/glx/dri_glx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c index 859375013f1..3b7502d1b01 100644 --- a/src/glx/dri_glx.c +++ b/src/glx/dri_glx.c @@ -271,8 +271,9 @@ __glXReportDamage(__DRIdrawable * driDraw, } static const __DRIdamageExtension damageExtension = { - {__DRI_DAMAGE, __DRI_DAMAGE_VERSION}, - __glXReportDamage, + .base = {__DRI_DAMAGE, 1 }, + + .reportDamage = __glXReportDamage, }; #endif |