1
0
Fork 0
mirror of https://github.com/Ryujinx/Opentk.git synced 2025-03-08 10:10:00 +00:00

Added support for overriding the element count of an array parameter.

This commit is contained in:
Stefanos A. 2013-10-24 22:42:12 +02:00
parent d4c1cb1bb3
commit 7296edafac

View file

@ -206,6 +206,11 @@ namespace Bind
case "flow": case "flow":
d.Parameters[i].Flow = Parameter.GetFlowDirection((string)node.TypedValue); d.Parameters[i].Flow = Parameter.GetFlowDirection((string)node.TypedValue);
break; break;
case "count":
int count;
if (Int32.TryParse(node.Value, out count))
d.Parameters[i].ElementCount = count;
break;
} }
} }
} }