Fix #1536: use string instead of TString for uniform-location override.
This commit is contained in:
parent
fa61e4c061
commit
43bb5bd188
3 changed files with 15 additions and 12 deletions
2
glslang/MachineIndependent/iomapper.cpp
Normal file → Executable file
2
glslang/MachineIndependent/iomapper.cpp
Normal file → Executable file
|
|
@ -457,7 +457,7 @@ struct TDefaultIoResolverBase : public glslang::TIoMapResolver
|
|||
|
||||
int location = intermediate.getUniformLocationOverride(name);
|
||||
if (location != -1)
|
||||
return location;
|
||||
return location;
|
||||
|
||||
location = nextUniformLocation;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue