summaryrefslogtreecommitdiff
path: root/vgasrc
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2017-05-29 19:25:13 +0200
committerKevin O'Connor <kevin@koconnor.net>2017-06-12 15:17:10 -0400
commit6b69446de71a6f8a472798a38c08881ec42a8518 (patch)
tree4eb76b4a9a35895eb144cf80cc49be89e45ec590 /vgasrc
parent4902b8a703779ee2d85da406d6f1dc16df71a43d (diff)
downloadqemu-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>
Diffstat (limited to 'vgasrc')
-rw-r--r--vgasrc/cbvga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vgasrc/cbvga.c b/vgasrc/cbvga.c
index 417ade3..4b7cd0e 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);