summaryrefslogtreecommitdiff
path: root/glx/glxdri2.c
diff options
context:
space:
mode:
authorVille Syrjälä <syrjala@sci.fi>2011-12-18 18:29:41 +0200
committerKeith Packard <keithp@keithp.com>2011-12-19 22:32:33 -0800
commit4df65d247b56c6b1b06e17a61236d6637312cdbb (patch)
treeec0a5fa5cbdc8acbc79984d1b8de741a8d46375b /glx/glxdri2.c
parente8fd23fad046877ca0ee08c1e147557756debc8e (diff)
dri2: Invalidate window pixmaps
While a redirected window is flipped, its pixmap may still be used as and EGL image and should also get invalidated. When sending invalidate events for a window, also send the events for its pixmap. Signed-off-by: Ville Syrjälä <syrjala@sci.fi> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'glx/glxdri2.c')
-rw-r--r--glx/glxdri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glx/glxdri2.c b/glx/glxdri2.c
index 8187a3edd..5e524db99 100644
--- a/glx/glxdri2.c
+++ b/glx/glxdri2.c
@@ -423,7 +423,7 @@ __glXDRIscreenCreateContext(__GLXscreen *baseScreen,
}
static void
-__glXDRIinvalidateBuffers(DrawablePtr pDraw, void *priv)
+__glXDRIinvalidateBuffers(DrawablePtr pDraw, void *priv, XID id)
{
#if __DRI2_FLUSH_VERSION >= 3
__GLXDRIdrawable *private = priv;