Add missing initialisation of counterIndex and stages in badReflection()

This commit is contained in:
baldurk 2019-01-29 12:49:14 +00:00
parent 544c039d26
commit 7e500c7b36

View File

@ -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;
}; };