summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-08-15 12:51:38 -0700
committerGitHub <noreply@github.com>2017-08-15 12:51:38 -0700
commit74e04b8746f7254d5e95520ff31fb09d4bc327b1 (patch)
treea108f78219e3312832a3025920bfae47fe607a68 /source
parent6de0a485e09c32cbd0bfead0fbdc5bb6f9aa7040 (diff)
parentd094bfc5aa0deebfb16f7678603d45ac2a7aa215 (diff)
Merge pull request #166 from tfoleyNV/add-builtins-to-core
Add user-defined builtins to the "core" module
Diffstat (limited to 'source')
-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 f6e9bd70b..293b6bf9e 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -648,7 +648,7 @@ SLANG_API void spAddBuiltins(
s->addBuiltinSource(
// TODO(tfoley): Add ability to directly new builtins to the approriate scope
- s->slangLanguageScope,
+ s->coreLanguageScope,
sourcePath,
sourceString);