diff options
Diffstat (limited to 'source/slang/slang.cpp')
| -rw-r--r-- | source/slang/slang.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp index aa114e44d..23e25249d 100644 --- a/source/slang/slang.cpp +++ b/source/slang/slang.cpp @@ -1749,7 +1749,7 @@ CapabilitySet TargetRequest::getTargetCaps() // If the user specified a explicit profile, we should pull // a corresponding atom representing the target version from the profile. - CapabilitySet profileCaps = CapabilitySet(optionSet.getProfile().getCapabilityName()); + CapabilitySet profileCaps = optionSet.getProfile().getCapabilityName(); bool isGLSLTarget = false; switch(getTarget()) |
