mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 11:30:06 +00:00
Merge pull request #2970 from greg-lunarg/i2969
Fix getEnhancedMsgs to work when HLSL not enabled
This commit is contained in:
commit
503dd24378
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user