ioctl METEORGBRIG in bktr_core.c forgets to add 128 to value
PR: 59289 Submitted by: Danovitsch@Vitsch.net
This commit is contained in:
parent
f7c7e94da3
commit
a4d3d010b8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320394
@ -1545,7 +1545,7 @@ video_ioctl( bktr_ptr_t bktr, int unit, ioctl_cmd_t cmd, caddr_t arg, struct thr
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case METEORGBRIG: /* get brightness */
|
case METEORGBRIG: /* get brightness */
|
||||||
*(u_char *)arg = INB(bktr, BKTR_BRIGHT);
|
*(u_char *)arg = INB(bktr, BKTR_BRIGHT) + 128;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case METEORSCSAT: /* set chroma saturation */
|
case METEORSCSAT: /* set chroma saturation */
|
||||||
|
Loading…
Reference in New Issue
Block a user