static inline void vmsvga_check_size(struct vmsvga_state_s *s)

{

    DisplaySurface *surface = qemu_console_surface(s->vga.con);



    if (s->new_width != surface_width(surface) ||

        s->new_height != surface_height(surface)) {

        qemu_console_resize(s->vga.con, s->new_width, s->new_height);

        s->invalidated = 1;

    }

}

static inline void vmsvga_check_size(struct vmsvga_state_s *s)

{

    DisplaySurface *surface = qemu_console_surface(s->vga.con);



    if (s->new_width != surface_width(surface) ||

        s->new_height != surface_height(surface)) {

        qemu_console_resize(s->vga.con, s->new_width, s->new_height);

        s->invalidated = 1;

    }

}

        s->new_height != surface_height(surface)) {         qemu_console_resize(s->vga.con, s->new_width, s->new_height);
static inline void FUNC_0(struct vmsvga_state_s *VAR_0)

{

    DisplaySurface *surface = qemu_console_surface(VAR_0->vga.con);



    if (VAR_0->new_width != surface_width(surface) ||

        VAR_0->new_height != surface_height(surface)) {

        qemu_console_resize(VAR_0->vga.con, VAR_0->new_width, VAR_0->new_height);

        VAR_0->invalidated = 1;

    }

}

static inline void FUNC_0(struct vmsvga_state_s *VAR_0)
{ DisplaySurface *surface = qemu_console_surface(VAR_0->vga.con); if (VAR_0->new_width != surface_width(surface) ||
VAR_0->new_height != surface_height(surface)) { qemu_console_resize(VAR_0->vga.con, VAR_0->new_width, VAR_0->new_height); VAR_0->invalidated = 1; } }