Comment 8 for bug 1658634

> > - if (s->surface &&
> > + if (s->surface && (surface->flags & QEMU_ALLOCATED_FLAG) &&
> > pixman_image_get_width(s->surface->image) == width &&
> > pixman_image_get_height(s->surface->image) == height) {
> > return;
> >
>
> You are missing the 's->' !

Good catch. /me wonders why gcc didn't throw a warning on that one.

Fixed.

thanks,
  Gerd