mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 23:25:27 +00:00
[Platform] DeviceCollection hardware id is long
This commit is contained in:
parent
4c411b0b6e
commit
9efa75179f
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue