mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fix shader preprocessor constructor call (#3030)
Co-authored-by: Issam <issam.dahmen@fittingbox.com>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user