[SeaBIOS] [PATCH 3/4] SeaVGABios/cbvga: Use active mode to clear screen
Patrick Rudolph
siro at das-labor.org
Fri Mar 17 17:49:41 CET 2017
As coreboot framebuffer is immutable always use CBmodeinfo.
Signed-off-by: Patrick Rudolph <siro at das-labor.org>
---
vgasrc/cbvga.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vgasrc/cbvga.c b/vgasrc/cbvga.c
index 50e6e69..4c349c5 100644
--- a/vgasrc/cbvga.c
+++ b/vgasrc/cbvga.c
@@ -113,7 +113,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);
--
2.7.4
More information about the SeaBIOS
mailing list