Build: Fix portability in previous commit.

This commit is contained in:
John Kessenich 2017-05-08 00:47:48 -06:00
parent c10191d132
commit 1ee1c8e1ed

View File

@ -3851,7 +3851,8 @@ void TBuiltIns::add2ndGenerationSamplingImaging(int version, EProfile profile, c
// samplerBuffer and textureBuffer types.
sampler.setTexture(sampler.type, sampler.dim, sampler.arrayed, sampler.shadow,
sampler.ms);
addSamplingFunctions(sampler, sampler.getString(), version, profile);
typeName = sampler.getString();
addSamplingFunctions(sampler, typeName, version, profile);
}
}
}