mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 06:48:33 +00:00
VertexLoaderManager: Clean up and slightly speed up with templates
This commit is contained in:
parent
a31e36aeb7
commit
a6c6ec012c
3 changed files with 110 additions and 80 deletions
|
@ -122,7 +122,7 @@ public:
|
|||
// HACK
|
||||
DataReader src{const_cast<u8*>(vertex_data), const_cast<u8*>(vertex_data) + size};
|
||||
const u32 bytes =
|
||||
VertexLoaderManager::RunVertices(vat, primitive, num_vertices, src, is_preprocess);
|
||||
VertexLoaderManager::RunVertices<is_preprocess>(vat, primitive, num_vertices, src);
|
||||
|
||||
ASSERT(bytes == size);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue