mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Change RunVertices' function arguments.
This reduces some dumb state shuffling when calling the emitted vertex loaders.
This commit is contained in:
parent
b989c2fd8f
commit
15e41c67f8
8 changed files with 11 additions and 11 deletions
|
@ -174,9 +174,9 @@ void SWVertexLoader::LoadVertex()
|
|||
// convert the vertex from the gc format to the videocommon (hardware optimized) format
|
||||
u8* old = g_video_buffer_read_ptr;
|
||||
int converted_vertices = m_CurrentLoader->RunVertices(
|
||||
m_primitiveType, 1,
|
||||
DataReader(g_video_buffer_read_ptr, nullptr), // src
|
||||
DataReader(m_LoadedVertices.data(), m_LoadedVertices.data() + m_LoadedVertices.size()) // dst
|
||||
DataReader(m_LoadedVertices.data(), m_LoadedVertices.data() + m_LoadedVertices.size()), // dst
|
||||
1, m_primitiveType
|
||||
);
|
||||
g_video_buffer_read_ptr = old + m_CurrentLoader->m_VertexSize;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue