diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-05-25 08:46:12 -0400 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-05-25 08:46:12 -0400 |
| commit | 69963dc4b0383732b0c55787845c958033242d25 (patch) | |
| tree | 897a37600d0465ca8cbd6623e9fb6846d13d7e17 /Source/Core/VideoCommon/VertexLoaderBase.cpp | |
| parent | 5e58d178e08ddf7115c991a6462ff73159d9e453 (diff) | |
| parent | fc76d0df38b8324c876f9fd8a1594f1df5b60ba7 (diff) | |
Merge pull request #2274 from degasus/disable_bbox
Disable bbox
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoaderBase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderBase.cpp b/Source/Core/VideoCommon/VertexLoaderBase.cpp index 64bef30928..d5831bc8e5 100644 --- a/Source/Core/VideoCommon/VertexLoaderBase.cpp +++ b/Source/Core/VideoCommon/VertexLoaderBase.cpp @@ -161,13 +161,13 @@ public: delete b; } - int RunVertices(DataReader src, DataReader dst, int count, int primitive) override + int RunVertices(DataReader src, DataReader dst, int count) override { buffer_a.resize(count * a->m_native_vtx_decl.stride + 4); buffer_b.resize(count * b->m_native_vtx_decl.stride + 4); - int count_a = a->RunVertices(src, DataReader(buffer_a.data(), buffer_a.data()+buffer_a.size()), count, primitive); - int count_b = b->RunVertices(src, DataReader(buffer_b.data(), buffer_b.data()+buffer_b.size()), count, primitive); + int count_a = a->RunVertices(src, DataReader(buffer_a.data(), buffer_a.data()+buffer_a.size()), count); + int count_b = b->RunVertices(src, DataReader(buffer_b.data(), buffer_b.data()+buffer_b.size()), count); if (count_a != count_b) ERROR_LOG(VIDEO, "The two vertex loaders have loaded a different amount of vertices (a: %d, b: %d).", count_a, count_b); |
