Build: Fix linux

I believe this is a repeat of 12d6936.
This commit is contained in:
Jeremy Hayes 2017-06-06 12:03:54 -06:00
parent 0e07119ae2
commit 549764b5ec

View File

@ -1451,8 +1451,8 @@ void TParseContext::builtInOpCheck(const TSourceLoc& loc, const TFunction& fnCan
bias = fnCandidate.getParamCount() > 4;
if (bias) {
featureString = fnCandidate.getName() + "with bias argument";
feature = featureString.c_str();
TString biasFeatureString = fnCandidate.getName() + "with bias argument";
const char* feature = biasFeatureString.c_str();
profileRequires(loc, ~EEsProfile, 450, nullptr, feature);
requireExtensions(loc, 1, &E_GL_AMD_texture_gather_bias_lod, feature);
}