mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-02 10:31:05 +00:00
Added support for overriding the element count of an array parameter.
This commit is contained in:
parent
d4c1cb1bb3
commit
7296edafac
|
@ -206,6 +206,11 @@ namespace Bind
|
|||
case "flow":
|
||||
d.Parameters[i].Flow = Parameter.GetFlowDirection((string)node.TypedValue);
|
||||
break;
|
||||
case "count":
|
||||
int count;
|
||||
if (Int32.TryParse(node.Value, out count))
|
||||
d.Parameters[i].ElementCount = count;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue