Skip to content

Commit 1acd460

Browse files
committed
at martin's request, set flags to enable font loading / resizing
this needs testing
1 parent 66b6a8b commit 1acd460

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

sys/dev/pci/viogpu.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: viogpu.c,v 1.2 2025/10/04 03:58:38 thorpej Exp $ */
1+
/* $NetBSD: viogpu.c,v 1.3 2026/01/25 01:54:55 macallan Exp $ */
22
/* $OpenBSD: viogpu.c,v 1.3 2023/05/29 08:13:35 sf Exp $ */
33

44
/*
@@ -824,7 +824,8 @@ viogpu_init_screen(void *cookie, struct vcons_screen *scr, int existing,
824824
ri->ri_rpos = 16;
825825
ri->ri_rnum = 8;
826826
rasops_init(ri, 0, 0);
827-
ri->ri_caps = WSSCREEN_WSCOLORS | WSSCREEN_HILIT;
827+
ri->ri_caps = WSSCREEN_WSCOLORS | WSSCREEN_HILIT | WSSCREEN_RESIZE;
828+
scr->scr_flags |= VCONS_LOADFONT;
828829
rasops_reconfig(ri, sc->sc_fb_height / ri->ri_font->fontheight,
829830
sc->sc_fb_width / ri->ri_font->fontwidth);
830831

0 commit comments

Comments
 (0)