Browse Source

Updated glslang.

Бранимир Караџић 5 years ago
parent
commit
07583ddba2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      3rdparty/glslang/glslang/MachineIndependent/reflection.cpp

+ 1 - 1
3rdparty/glslang/glslang/MachineIndependent/reflection.cpp

@@ -639,7 +639,7 @@ public:
 
 
     int addBlockName(const TString& name, const TType& type, int size)
     int addBlockName(const TString& name, const TType& type, int size)
     {
     {
-        int blockIndex;
+        int blockIndex = 0;
         if (type.isArray()) {
         if (type.isArray()) {
             TType derefType(type, 0);
             TType derefType(type, 0);
             for (int e = 0; e < type.getOuterArraySize(); ++e) {
             for (int e = 0; e < type.getOuterArraySize(); ++e) {