Merge pull request #692 from hrydgard/no-nvextensions-build-fix
Fix build if NV_EXTENSIONS is not set
This commit is contained in:
commit
2043da90df
1 changed files with 2 additions and 0 deletions
|
|
@ -3969,6 +3969,8 @@ void TParseContext::setLayoutQualifier(const TSourceLoc& loc, TPublicType& publi
|
|||
return;
|
||||
}
|
||||
}
|
||||
#else
|
||||
}
|
||||
#endif
|
||||
error(loc, "unrecognized layout identifier, or qualifier requires assignment (e.g., binding = 4)", id.c_str(), "");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue