diff options
| author | degasus <wickmarkus@web.de> | 2014-12-19 00:32:46 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2014-12-21 14:13:04 +0100 |
| commit | 325e8e370eddb236e29fd851a848f16ce7cdfd3d (patch) | |
| tree | 98b4e406c8434638774b7c9dd6e243041ef4a9eb /Source/Core/VideoCommon/VertexLoader.cpp | |
| parent | 7c486a8c243c3bb223b1d31aab34bf039c6a02a1 (diff) | |
VertexLoader: Merge dummy functions
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoader.cpp | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp index d7c8fe3cfa..61303ab6f7 100644 --- a/Source/Core/VideoCommon/VertexLoader.cpp +++ b/Source/Core/VideoCommon/VertexLoader.cpp @@ -434,17 +434,17 @@ void VertexLoader::WriteSetVariable(int bits, void *address, OpArg value) } #endif -void VertexLoader::SetupRunVertices(int primitive, int const count) +int VertexLoader::RunVertices(int primitive, int count, DataReader src, DataReader dst) { + dst.WritePointer(&g_vertex_manager_write_ptr); + src.WritePointer(&g_video_buffer_read_ptr); + m_numLoadedVertices += count; // Prepare bounding box if (!g_ActiveConfig.backend_info.bSupportsBBox) BoundingBox::Prepare(m_vat, primitive, m_VtxDesc, m_native_vtx_decl); -} -void VertexLoader::ConvertVertices ( int count ) -{ #ifdef USE_VERTEX_LOADER_JIT if (count > 0) { @@ -461,13 +461,6 @@ void VertexLoader::ConvertVertices ( int count ) PRIM_LOG("\n"); } #endif -} -int VertexLoader::RunVertices(int primitive, int count, DataReader src, DataReader dst) -{ - dst.WritePointer(&g_vertex_manager_write_ptr); - src.WritePointer(&g_video_buffer_read_ptr); - SetupRunVertices(primitive, count); - ConvertVertices(count); return count; } |
