From 6b69446de71a6f8a472798a38c08881ec42a8518 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Mon, 29 May 2017 19:25:13 +0200 Subject: SeaVGABios/cbvga: Use active mode to clear screen As coreboot framebuffer is immutable always use CBmodeinfo. Signed-off-by: Patrick Rudolph --- vgasrc/cbvga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vgasrc') 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); -- cgit