Call checkShaderStageForNVExtensions() from function updateExtensionBehavior()
This commit is contained in:
parent
3ae0f58322
commit
251344f692
2 changed files with 5 additions and 5 deletions
|
|
@ -742,6 +742,11 @@ void TParseVersions::updateExtensionBehavior(int line, const char* extension, co
|
|||
return;
|
||||
}
|
||||
|
||||
#ifdef NV_EXTENSIONS
|
||||
if (!checkShaderStageForNVExtensions(getCurrentLoc(), extension))
|
||||
return;
|
||||
#endif
|
||||
|
||||
// update the requested extension
|
||||
updateExtensionBehavior(extension, behavior);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue