diff options
Diffstat (limited to 'sys/arch/luna88k/dev')
-rw-r--r-- | sys/arch/luna88k/dev/lunafb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/luna88k/dev/lunafb.c b/sys/arch/luna88k/dev/lunafb.c index 5b7a9320c6c..7f0e2e60d38 100644 --- a/sys/arch/luna88k/dev/lunafb.c +++ b/sys/arch/luna88k/dev/lunafb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lunafb.c,v 1.28 2021/09/17 12:02:31 aoyama Exp $ */ +/* $OpenBSD: lunafb.c,v 1.29 2022/07/15 17:57:26 kettenis Exp $ */ /* $NetBSD: lunafb.c,v 1.7.6.1 2002/08/07 01:48:34 lukem Exp $ */ /*- @@ -243,6 +243,8 @@ omfbioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p) wsd_fbip->height = dc->dc_ht; wsd_fbip->width = dc->dc_wid; wsd_fbip->depth = dc->dc_depth; + wsd_fbip->stride = dc->dc_rowbytes; + wsd_fbip->offset = 8; wsd_fbip->cmsize = dc->dc_cmsize; #undef wsd_fbip break; |