Search
lxdream.org :: lxdream/src/drivers/osx_iokit.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/osx_iokit.c
changeset 799:8aeb9906d7b9
prev759:f16975739abc
author nkeynes
date Thu Oct 16 12:06:24 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Fix bound check on number of framebuffers allocated
Fix repurposing framebuffers to clear out previous attachments to prevent
dimension erros.
file annotate diff log raw
1.1 --- a/src/drivers/osx_iokit.c Mon Jul 21 01:01:39 2008 +0000
1.2 +++ b/src/drivers/osx_iokit.c Thu Oct 16 12:06:24 2008 +0000
1.3 @@ -340,7 +340,7 @@
1.4
1.5 if( IOServiceAddMatchingNotification( notify_port, kIOFirstPublishNotification,
1.6 IOServiceMatching(kIOHIDDeviceKey),
1.7 - osx_hid_inserted, NULL, &iokit_iterators[4] ) != kIOReturnSuccess ) {
1.8 + osx_hid_inserted, NULL, &iokit_iterators[2] ) != kIOReturnSuccess ) {
1.9 ERROR( "IOServiceAddMatchingNotification failed" );
1.10 }
1.11 osx_hid_inserted(NULL, iokit_iterators[2]);
.