mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
VideoCommon: clean up VertexLoader
This commit is contained in:
parent
02cdb41d3d
commit
3fc7e55cc4
7 changed files with 45 additions and 33 deletions
|
@ -491,12 +491,13 @@ void VertexLoader::ConvertVertices ( int count )
|
|||
#endif
|
||||
}
|
||||
|
||||
void VertexLoader::RunVertices(const VAT& vat, int primitive, int const count)
|
||||
int VertexLoader::RunVertices(const VAT& vat, int primitive, int count, DataReader src, DataReader dst)
|
||||
{
|
||||
g_vertex_manager_write_ptr = g_vertex_manager->s_pCurBufferPointer;
|
||||
dst.WritePointer(&g_vertex_manager_write_ptr);
|
||||
src.WritePointer(&g_video_buffer_read_ptr);
|
||||
SetupRunVertices(vat, primitive, count);
|
||||
ConvertVertices(count);
|
||||
g_vertex_manager->s_pCurBufferPointer = g_vertex_manager_write_ptr;
|
||||
return count;
|
||||
}
|
||||
|
||||
void VertexLoader::SetVAT(const VAT& vat)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue