glx/dri: use the implemented version of __DRIdamageExtension
... over the one provided by the headers. Explicitly set extension members to improve clarity. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
+3
-2
@@ -271,8 +271,9 @@ __glXReportDamage(__DRIdrawable * driDraw,
|
||||
}
|
||||
|
||||
static const __DRIdamageExtension damageExtension = {
|
||||
{__DRI_DAMAGE, __DRI_DAMAGE_VERSION},
|
||||
__glXReportDamage,
|
||||
.base = {__DRI_DAMAGE, 1 },
|
||||
|
||||
.reportDamage = __glXReportDamage,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user