summaryrefslogtreecommitdiff
path: root/sys/dev/fb
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2014-08-10 17:04:10 +0000
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2014-08-10 17:04:10 +0000
commit19e2ce2d836709d4fc28d11ff7c76dd43000fdee (patch)
tree3ff740873b9da0dd51559fa01322a9f583e821b5 /sys/dev/fb
parentbb0a8f248dae1ed158dbf6eccafeef6f15caa920 (diff)
Notes
Diffstat (limited to 'sys/dev/fb')
-rw-r--r--sys/dev/fb/creator_vt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/fb/creator_vt.c b/sys/dev/fb/creator_vt.c
index e98f79f8f51c..0f287498804b 100644
--- a/sys/dev/fb/creator_vt.c
+++ b/sys/dev/fb/creator_vt.c
@@ -151,8 +151,9 @@ creatorfb_init(struct vt_device *vd)
sc->memh = sparc64_fake_bustag(space, phys, &sc->memt[0]);
/* 32-bit VGA palette */
- vt_generate_vga_palette(sc->fb.fb_cmap, COLOR_FORMAT_RGB,
- 255, 16, 255, 8, 255, 0);
+ vt_generate_cons_palette(sc->fb.fb_cmap, COLOR_FORMAT_RGB,
+ 255, 0, 255, 8, 255, 16);
+ sc->fb.fb_cmsize = 16;
vt_fb_init(vd);