Fixed OnResourceDestroy callback not called by the destructor
Former-commit-id: 8b961101f88343ddd3bb382d2c333052efb03164
This commit is contained in:
@@ -46,7 +46,7 @@ class NAZARA_API NzMaterial : public NzResource
|
||||
NzMaterial();
|
||||
NzMaterial(const NzMaterial& material);
|
||||
NzMaterial(NzMaterial&& material);
|
||||
~NzMaterial() = default;
|
||||
~NzMaterial();
|
||||
|
||||
void Apply(const NzShaderProgram* program) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user