UniformCall(unsigned l, unsigned s, FuncPtr f): location(l), size(s), func(f) { }
};
- unsigned id;
- unsigned stage_ids[MAX_STAGES];
- bool linked;
+ unsigned id = 0;
+ unsigned stage_ids[MAX_STAGES] = { };
+ bool linked = false;
std::vector<UniformCall> uniform_calls;
std::string debug_name;