fixed more leaks

This commit is contained in:
aap
2020-04-25 00:37:49 +02:00
parent 7fdb483d4e
commit c4ffa3622a
16 changed files with 131 additions and 66 deletions

View File

@@ -18,8 +18,8 @@ namespace rw {
int32 Geometry::numAllocated;
int32 Material::numAllocated;
PluginList Geometry::s_plglist = { sizeof(Geometry), sizeof(Geometry), nil, nil };
PluginList Material::s_plglist = { sizeof(Material), sizeof(Material), nil, nil };
PluginList Geometry::s_plglist(sizeof(Geometry));
PluginList Material::s_plglist(sizeof(Material));
static SurfaceProperties defaultSurfaceProps = { 1.0f, 1.0f, 1.0f };