};
protected:
- const Sampler *sampler;
+ const Sampler *sampler = 0;
ProgramData shdata;
- Material(): sampler(0) { }
+ Material() = default;
public:
- virtual ~Material() { }
+ virtual ~Material() = default;
virtual const Program *create_compatible_shader(const std::map<std::string, int> & = std::map<std::string, int>()) const;
protected: