Skip to content

Commit bb2a19b

Browse files
committed
fix include CHLSLCompiler
1 parent 0bf5b36 commit bb2a19b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nbl/asset/utils/CHLSLCompiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static tcpp::IInputStream* getInputStreamInclude(
4949

5050
std::filesystem::path relDir;
5151
const bool reqFromBuiltin = builtin::hasPathPrefix(_requesting_source);
52-
const bool reqBuiltin = builtin::hasPathPrefix(_requesting_source);
52+
const bool reqBuiltin = builtin::hasPathPrefix(_requested_source);
5353
if (!reqFromBuiltin && !reqBuiltin)
5454
{
5555
//While #includ'ing a builtin, one must specify its full path (starting with "nbl/builtin" or "/nbl/builtin").

0 commit comments

Comments
 (0)