Commit 7e500c7b by baldurk

Add missing initialisation of counterIndex and stages in badReflection()

parent 544c039d
...@@ -87,7 +87,8 @@ public: ...@@ -87,7 +87,8 @@ public:
EShLanguageMask stages; EShLanguageMask stages;
protected: protected:
TObjectReflection() : offset(-1), glDefineType(-1), size(-1), index(-1), type(nullptr) { } TObjectReflection() :
offset(-1), glDefineType(-1), size(-1), index(-1), counterIndex(-1), stages(EShLanguageMask(0)), type(nullptr) { }
const TType* type; const TType* type;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment