Fixed OnResourceDestroy callback not called by the destructor

Former-commit-id: 8b961101f88343ddd3bb382d2c333052efb03164
This commit is contained in:
Lynix
2013-09-03 13:57:32 +02:00
parent 76abb5bf16
commit bed20692a6
10 changed files with 34 additions and 10 deletions

View File

@@ -26,7 +26,7 @@ class NAZARA_API NzVertexDeclaration : public NzResource
public:
NzVertexDeclaration();
NzVertexDeclaration(NzVertexDeclaration& declaration);
~NzVertexDeclaration() = default;
~NzVertexDeclaration();
void DisableAttribute(nzAttributeUsage usage);
void EnableAttribute(nzAttributeUsage usage, nzAttributeType type, unsigned int offset);