> > - 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
> > - if (s->surface && FLAG) && image_get_ width(s- >surface- >image) == width && image_get_ height( s->surface- >image) == height) {
> > + if (s->surface && (surface->flags & QEMU_ALLOCATED_
> > pixman_
> > pixman_
> > return;
> >
>
> You are missing the 's->' !
Good catch. /me wonders why gcc didn't throw a warning on that one.
Fixed.
thanks,
Gerd