Merge pull request #2970 from greg-lunarg/i2969

Fix getEnhancedMsgs to work when HLSL not enabled
This commit is contained in:
Greg Fischer 2022-07-07 12:14:29 -06:00 committed by GitHub
commit 503dd24378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -480,7 +480,7 @@ public:
{
enhancedMsgs = true;
}
bool getEnhancedMsgs() const { return enhancedMsgs && source == EShSourceGlsl; }
bool getEnhancedMsgs() const { return enhancedMsgs && getSource() == EShSourceGlsl; }
#ifdef ENABLE_HLSL
void setSource(EShSource s) { source = s; }