summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glx/x11/glxext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c
index 29b3a1c01c5..7f3857360d0 100644
--- a/src/glx/x11/glxext.c
+++ b/src/glx/x11/glxext.c
@@ -758,7 +758,7 @@ static void __glXReportDamage(__DRInativeDisplay *dpy, int screen,
xrects[i].height = rects[i].y2 - rects[i].y1;
}
region = XFixesCreateRegion(dpy, xrects, num_rects);
- XDamagePost(dpy, drawable, region);
+ XDamageAdd(dpy, drawable, region);
XFixesDestroyRegion(dpy, region);
#endif
}