mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-06-18 13:08:31 +02:00
xlib: Reset fallback counter when discarding the fallback
References: https://bugs.freedesktop.org/show_bug.cgi?id=54657
This commit is contained in:
parent
5c59d989f9
commit
59248fb262
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue