console: fix -vga none -sdl crash
commit333cb18ff4aaf249b2e81a376bee2b15370f4784
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 2 Jun 2014 12:07:18 +0000 (2 14:07 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 10 Jun 2014 10:36:36 +0000 (10 12:36 +0200)
treee7e04900a51003b0b1af23213cc24336ff08707b
parenta1d2db08d8421793130c59dcd54631a7425686fb
console: fix -vga none -sdl crash

Call get_alloc_displaystate() for proper initialization
instead of allocating with g_new().

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/console.c