Merge pull request #2970 from greg-lunarg/i2969
Fix getEnhancedMsgs to work when HLSL not enabled
This commit is contained in:
commit
503dd24378
1 changed files with 1 additions and 1 deletions
|
|
@ -480,7 +480,7 @@ public:
|
||||||
{
|
{
|
||||||
enhancedMsgs = true;
|
enhancedMsgs = true;
|
||||||
}
|
}
|
||||||
bool getEnhancedMsgs() const { return enhancedMsgs && source == EShSourceGlsl; }
|
bool getEnhancedMsgs() const { return enhancedMsgs && getSource() == EShSourceGlsl; }
|
||||||
|
|
||||||
#ifdef ENABLE_HLSL
|
#ifdef ENABLE_HLSL
|
||||||
void setSource(EShSource s) { source = s; }
|
void setSource(EShSource s) { source = s; }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue