vga: cleanup surface handling
commit6bc2fd57e1fc2d1957d1ff952793c53764130218
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 25 May 2018 13:13:18 +0000 (25 15:13 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 4 Jun 2018 07:44:10 +0000 (4 09:44 +0200)
treea9408269a4bbb833772b497177461a9536b5e3b0
parentbc820db0647040be38e693e0ca14fd49d8cf51ed
vga: cleanup surface handling

Just set the full_update flag if we need a new DisplaySurface.  Create
a new surface when the flag is set instead of having two places where
qemu_create_displaysurface_from() is called.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20180525131318.28437-1-kraxel@redhat.com
hw/display/vga.c