[Platform] DeviceCollection hardware id is long

This commit is contained in:
thefiddler 2014-07-31 23:03:02 +02:00
parent 4c411b0b6e
commit 9efa75179f

View file

@ -83,7 +83,7 @@ namespace OpenTK.Platform
Devices[Map[id]] = device;
}
public void Remove(int id)
public void Remove(long id)
{
if (!TryRemove(id))
{
@ -91,7 +91,7 @@ namespace OpenTK.Platform
}
}
public bool TryRemove(int id)
public bool TryRemove(long id)
{
if (!Map.ContainsKey(id))
{