Fix shader preprocessor constructor call (#3030)

Co-authored-by: Issam <issam.dahmen@fittingbox.com>
This commit is contained in:
issam3105
2023-02-01 16:26:55 +01:00
committed by GitHub
parent c645acdc03
commit 6f36b4fb3a

View File

@@ -1105,7 +1105,7 @@ namespace bgfx
const Profile *profile = &s_profiles[profile_id];
Preprocessor preprocessor(_options.inputFilePath.c_str(), profile->lang != ShadingLang::ESSL);
Preprocessor preprocessor(_options.inputFilePath.c_str(), profile->lang == ShadingLang::ESSL);
for (size_t ii = 0; ii < _options.includeDirs.size(); ++ii)
{