Fix #1536: use string instead of TString for uniform-location override.

This commit is contained in:
John Kessenich 2018-10-20 17:36:13 -06:00
parent fa61e4c061
commit 43bb5bd188
3 changed files with 15 additions and 12 deletions

2
glslang/MachineIndependent/iomapper.cpp Normal file → Executable file
View file

@ -457,7 +457,7 @@ struct TDefaultIoResolverBase : public glslang::TIoMapResolver
int location = intermediate.getUniformLocationOverride(name);
if (location != -1)
return location;
return location;
location = nextUniformLocation;