remove is_graphic_console from vga.c (Stefano Stabellini)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 13 Mar 2009 15:02:18 +0000 (15:02 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 13 Mar 2009 15:02:18 +0000 (15:02 +0000)
commit8e839a4afc753eb7c368b0cbb2c5594502f48b63
treed1a8b735b1396ab5391514333084b0b58b71bb6d
parent1679b4ff036a3721ee2609620d1dafbccc5cca76
remove is_graphic_console from vga.c (Stefano Stabellini)

Hi all,
since vga_draw_graphic is only called by vga_hw_update when the console
associated with the graphic card is active, we don't need to check if
the current console is active using is_graphic_console.

I suspect I introduced these checks when the console switching mechanism
didn't work as it does now.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6840 c046a42c-6fe2-441c-8c8c-71466251a162
hw/vga.c