VertexLoaderBase: Get rid of explicit delete and new

This commit is contained in:
Lioncash committed 2015-12-22 20:09:54 -05:00
1 parent 3cf16f8573
commit 8371c428cd
5 files changed
+24 -24

No files matched your search

@@ -61,7 +61,7 @@ protected:
void CreateAndCheckSizes(size_t input_size, size_t output_size)
{
m_loader.reset(VertexLoaderBase::CreateVertexLoader(m_vtx_desc, m_vtx_attr));
m_loader = VertexLoaderBase::CreateVertexLoader(m_vtx_desc, m_vtx_attr);
ASSERT_EQ((int)input_size, m_loader->m_VertexSize);
ASSERT_EQ((int)output_size, m_loader->m_native_vtx_decl.stride);
}