summaryrefslogtreecommitdiffstats
path: root/source/slang/compiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/compiler.cpp')
-rw-r--r--source/slang/compiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/compiler.cpp b/source/slang/compiler.cpp
index 55b79c00e..9ca1d247f 100644
--- a/source/slang/compiler.cpp
+++ b/source/slang/compiler.cpp
@@ -234,7 +234,7 @@ namespace Slang
"slang",
nullptr,
nullptr,
- entryPoint->name.begin(),
+ getText(entryPoint->name).begin(),
GetHLSLProfileName(entryPoint->profile),
0,
0,