diff options
author | 2009-09-20 11:24:02 +0000 | |
---|---|---|
committer | 2009-09-20 11:24:02 +0000 | |
commit | 541a4372acbfb6f3954f23c9bd92f4189411a860 (patch) | |
tree | 944ff8f677fb112dd8ab8f5e3d40859daa5f0dd9 | |
parent | For now just clear the screen when switching to emulation mode (need to (diff) | |
download | wireguard-openbsd-541a4372acbfb6f3954f23c9bd92f4189411a860.tar.xz wireguard-openbsd-541a4372acbfb6f3954f23c9bd92f4189411a860.zip |
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.
-rw-r--r-- | sys/dev/usb/udl.c | 4 |
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 */ |