Use correct enum type in case statement

Two similarly named enums led to the wrong one being used here, this
is getting caught in the Chromium and Dawn DEPS rolls.
This commit is contained in:
Ryan Harrison 2020-01-27 14:31:45 -05:00
parent 19ec0d2ff9
commit 8b60570129

View File

@ -731,7 +731,7 @@ void TranslateEnvironment(const TEnvironment* environment, EShMessages& messages
source = EShSourceHlsl;
messages = static_cast<EShMessages>(messages | EShMsgReadHlsl);
break;
case EShClientCount:
case EShSourceCount:
assert(0);
break;
}