We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87b0cd2 commit 70c3a26Copy full SHA for 70c3a26
include/Material.hpp
@@ -42,7 +42,7 @@ class Material : public ::Material {
42
*/
43
static std::vector<Material> Load(const std::string& fileName) {
44
int count = 0;
45
- // this function possibly leaks the materials array
+ // TODO: Material::Load() possibly leaks the materials array.
46
::Material* materials = ::LoadMaterials(fileName.c_str(), &count);
47
return std::vector<Material>(materials, materials + count);
48
}
0 commit comments