On 01/24/17 11:37, elmarco wrote:
> Hi
>
> On Tue, Jan 24, 2017 at 2:31 PM Gerd Hoffmann <1658...@bugs.launchpad.net>
> wrote:
>
>> Only skip surface reallocation in case the old surface was created using
>> qemu_alloc_display (via qemu_create_displaysurface) too, otherwise we
>> might end up wit
> > -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 cat
Hi
On Tue, Jan 24, 2017 at 2:31 PM Gerd Hoffmann <1658...@bugs.launchpad.net>
wrote:
> Only skip surface reallocation in case the old surface was created using
> qemu_alloc_display (via qemu_create_displaysurface) too, otherwise we
> might end up with a DisplaySurface with the wrong backing stora