summaryrefslogtreecommitdiff
path: root/sys/dev/usb/udl.c
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2009-09-20 11:24:03 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2009-09-20 11:24:03 +0000
commitec4cb0f2520c8a81d8bff101656a269bf0fe6b19 (patch)
treef6cf4393c432f295af41fe5e7a7a82f25aea2f0c /sys/dev/usb/udl.c
parent6bcbaccfebbd2c9080a564637dc1757b805c8b84 (diff)
Remove XXX content about missing screen repaint when switching to EMUL
mode. Miod mentioned that is it OK to loose screen content when switching DUMBFB -> EMUL. Thanks.
Diffstat (limited to 'sys/dev/usb/udl.c')
-rw-r--r--sys/dev/usb/udl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/udl.c b/sys/dev/usb/udl.c
index 2ed8c1ca594..d26edf13fbe 100644
--- a/sys/dev/usb/udl.c
+++ b/sys/dev/usb/udl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udl.c,v 1.48 2009/09/20 10:56:02 mglocker Exp $ */
+/* $OpenBSD: udl.c,v 1.49 2009/09/20 11:24:02 mglocker Exp $ */
/*
* Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org>
@@ -467,8 +467,8 @@ udl_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
break;
switch (mode) {
case WSDISPLAYIO_MODE_EMUL:
+ /* clear screen */
(void)udl_clear_screen(sc);
- /* XXX how shall we repaint the screen? */
break;
case WSDISPLAYIO_MODE_DUMBFB:
/* TODO */