Move vertex size and component calculation to VertexLoaderBase
This commit is contained in:
1 parent
fa7077763f
commit
0a906f553f
7 files changed
+96
-109
No files matched your search
@@ -62,7 +62,7 @@ protected:
|
||||
void CreateAndCheckSizes(size_t input_size, size_t output_size)
|
||||
{
|
||||
m_loader = VertexLoaderBase::CreateVertexLoader(m_vtx_desc, m_vtx_attr);
|
||||
ASSERT_EQ((int)input_size, m_loader->m_VertexSize);
|
||||
ASSERT_EQ(input_size, m_loader->m_vertex_size);
|
||||
ASSERT_EQ((int)output_size, m_loader->m_native_vtx_decl.stride);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user