summaryrefslogtreecommitdiffstats
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index d516d0cb2..38b417960 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -827,7 +827,7 @@ int CompileRequest::addEntryPoint(
entryPoint->profile = entryPointProfile;
entryPoint->translationUnitIndex = translationUnitIndex;
for (auto typeName : genericTypeNames)
- entryPoint->genericParameterTypeNames.Add(typeName);
+ entryPoint->genericArgStrings.Add(typeName);
auto translationUnit = translationUnits[translationUnitIndex].Ptr();
translationUnit->entryPoints.Add(entryPoint);