core: Only adjust screen if we're in text mode
authorMatt Fleming <matt.fleming@intel.com>
Tue, 14 Feb 2012 13:34:00 +0000 (13:34 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Wed, 21 Mar 2012 10:24:24 +0000 (10:24 +0000)
commit43499c9dc347ee858e9e395eba0954ec52a410ef
tree2912e76e39e34a50cc88bb39bf49387fe059bf47
parent3dcb4ec145d21c0ec1c4dc8b11cec61a4b88fc88
core: Only adjust screen if we're in text mode

A bug was introduced in commit 9f51b69d ("core: Reimplement lots asm
code in C") when converting the old asm comapi_usingvga function into
C. We only want to adjust the screen if we're not using VGA.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
core/graphics.c