PP #include: address PR feedback.
This commit is contained in:
parent
63204c2501
commit
facde2c804
5 changed files with 19 additions and 11 deletions
|
|
@ -582,7 +582,7 @@ void CompileAndLinkShaderUnits(std::vector<ShaderCompUnit> compUnits)
|
|||
|
||||
if (Options & EOptionOutputPreprocessed) {
|
||||
std::string str;
|
||||
glslang::TShader::Includer includer;
|
||||
glslang::TShader::ForbidIncluder includer;
|
||||
if (shader->preprocess(&Resources, defaultVersion, ENoProfile, false, false,
|
||||
messages, &str, includer)) {
|
||||
PutsIfNonEmpty(str.c_str());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue