From 549764b5ecd7a33d8733bdf853b4933e77d6fa8e Mon Sep 17 00:00:00 2001 From: Jeremy Hayes <jeremy@lunarg.com> Date: Tue, 6 Jun 2017 12:03:54 -0600 Subject: [PATCH] Build: Fix linux I believe this is a repeat of 12d6936. --- glslang/MachineIndependent/ParseHelper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glslang/MachineIndependent/ParseHelper.cpp b/glslang/MachineIndependent/ParseHelper.cpp index f4cf354c7..329dea66f 100644 --- a/glslang/MachineIndependent/ParseHelper.cpp +++ b/glslang/MachineIndependent/ParseHelper.cpp @@ -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); } -- GitLab