[cairo-commit] src/cairo-xlib-surface.c
Chris Wilson
ickle at kemper.freedesktop.org
Thu Sep 13 14:58:53 PDT 2012
src/cairo-xlib-surface.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 59248fb2628e86ff62abfbf122b88c2a299ec393
Author: Weng Xuetian <wengxt at gmail.com>
Date: Thu Sep 13 22:56:57 2012 +0100
xlib: Reset fallback counter when discarding the fallback
References: https://bugs.freedesktop.org/show_bug.cgi?id=54657
diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
index 718f4e7..e9e647a 100644
--- a/src/cairo-xlib-surface.c
+++ b/src/cairo-xlib-surface.c
@@ -374,6 +374,8 @@ _cairo_xlib_surface_discard_shm (cairo_xlib_surface_t *surface)
_cairo_damage_destroy (surface->base.damage);
surface->base.damage = NULL;
+
+ surface->fallback = 0;
}
static cairo_status_t
More information about the cairo-commit
mailing list