diff options
author | Patrick Rudolph <siro@das-labor.org> | 2017-05-29 19:25:13 +0200 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-06-12 15:17:10 -0400 |
commit | 6b69446de71a6f8a472798a38c08881ec42a8518 (patch) | |
tree | 4eb76b4a9a35895eb144cf80cc49be89e45ec590 | |
parent | 4902b8a703779ee2d85da406d6f1dc16df71a43d (diff) | |
download | seabios-6b69446de71a6f8a472798a38c08881ec42a8518.tar.gz |
SeaVGABios/cbvga: Use active mode to clear screen
As coreboot framebuffer is immutable always use CBmodeinfo.
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
-rw-r--r-- | vgasrc/cbvga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vgasrc/cbvga.c b/vgasrc/cbvga.c index 417ade3a..4b7cd0ef 100644 --- a/vgasrc/cbvga.c +++ b/vgasrc/cbvga.c @@ -105,7 +105,7 @@ cbvga_set_mode(struct vgamode_s *vmode_g, int flags) return 0; } struct gfx_op op; - init_gfx_op(&op, vmode_g); + init_gfx_op(&op, &CBmodeinfo); op.x = op.y = 0; op.xlen = GET_GLOBAL(CBmodeinfo.width); op.ylen = GET_GLOBAL(CBmodeinfo.height); |