PP #include: address PR feedback.
This commit is contained in:
parent
63204c2501
commit
facde2c804
5 changed files with 19 additions and 11 deletions
|
|
@ -521,7 +521,7 @@ public:
|
|||
glslang::TShader shader(EShLangVertex);
|
||||
shader.setStringsWithLengths(&shaderStrings, &shaderLengths, 1);
|
||||
std::string ppShader;
|
||||
glslang::TShader::Includer includer;
|
||||
glslang::TShader::ForbidIncluder includer;
|
||||
const bool success = shader.preprocess(
|
||||
&glslang::DefaultTBuiltInResource, defaultVersion, defaultProfile,
|
||||
forceVersionProfile, isForwardCompatible, (EShMessages)(EShMsgOnlyPreprocessor | EShMsgCascadingErrors),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue