We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bf5b36 commit bb2a19bCopy full SHA for bb2a19b
src/nbl/asset/utils/CHLSLCompiler.cpp
@@ -49,7 +49,7 @@ static tcpp::IInputStream* getInputStreamInclude(
49
50
std::filesystem::path relDir;
51
const bool reqFromBuiltin = builtin::hasPathPrefix(_requesting_source);
52
- const bool reqBuiltin = builtin::hasPathPrefix(_requesting_source);
+ const bool reqBuiltin = builtin::hasPathPrefix(_requested_source);
53
if (!reqFromBuiltin && !reqBuiltin)
54
{
55
//While #includ'ing a builtin, one must specify its full path (starting with "nbl/builtin" or "/nbl/builtin").
0 commit comments