Added appropriate delete statements.
This commit is contained in:
@ -37,6 +37,12 @@ namespace Dawn {
|
||||
return asset;
|
||||
}
|
||||
|
||||
template<class T>
|
||||
void unload(std::string name) {
|
||||
assertUnreachable();
|
||||
//should delete the asset for you
|
||||
}
|
||||
|
||||
~AssetManager();
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user