Skip to content

Commit 5a75c9a

Browse files
author
Michael Saunders
committed
Fixed incorrect end test
1 parent 63b8ec6 commit 5a75c9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vsg/utils/ShaderCompiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ std::string ShaderCompiler::combineSourceAndDefines(const std::string& source, c
531531
assert(nameValueDefElems.size() == 1 || nameValueDefElems.size() == 2);
532532

533533
auto finditr = std::find(importedDefines.begin(), importedDefines.end(), nameValueDefElems.front());
534-
if (finditr != defines.end())
534+
if (finditr != importedDefines.end())
535535
{
536536
// output the pre-processor define directive with its name and optional value
537537
addLine(headerstream, "#define " + nameValueDefElems.front() +

0 commit comments

Comments
 (0)