projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0ceef3
)
[Mac] Do not execute run loop prematurely
author
thefiddler
<stapostol@gmail.com>
Wed, 23 Jul 2014 07:20:51 +0000
(09:20 +0200)
committer
thefiddler
<stapostol@gmail.com>
Wed, 23 Jul 2014 07:20:51 +0000
(09:20 +0200)
Fixes a potential crash when destroying and recreating OpenTK.Toolkit.
Source/OpenTK/Platform/MacOS/HIDInput.cs
patch
|
blob
|
history
diff --git
a/Source/OpenTK/Platform/MacOS/HIDInput.cs
b/Source/OpenTK/Platform/MacOS/HIDInput.cs
index
375e772
..
93043b2
100755
(executable)
--- a/
Source/OpenTK/Platform/MacOS/HIDInput.cs
+++ b/
Source/OpenTK/Platform/MacOS/HIDInput.cs
@@
-250,8
+250,6
@@
namespace OpenTK.Platform.MacOS
NativeMethods.IOHIDManagerSetDeviceMatching(hidmanager, DeviceTypes.Ref);
NativeMethods.IOHIDManagerOpen(hidmanager, IOOptionBits.Zero);
-
- OpenTK.Platform.MacOS.Carbon.CF.CFRunLoopRunInMode(InputLoopMode, 0.0, true);
}
void DeviceAdded(IntPtr context, IOReturn res, IntPtr sender, IOHIDDeviceRef device)