diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2022-11-22 16:54:05 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2022-11-22 17:17:11 -0800 |
| commit | 0bcd3c79bb4bbd90fb1f8d02adb26198690709fb (patch) | |
| tree | 22ec9e15aca405a0b4621ff51d1ff51f9c179f3e /Source/UnitTests/VideoCommon/VertexLoaderTest.cpp | |
| parent | 8ac8d5afb63f65a1bed1a5d089d9fbbd5b8553b4 (diff) | |
VertexLoader: Eliminate use of DataReader
DataReader is generally jank - it has a start and end pointer, but the end pointer is generally not used, and all of the vertex loaders mostly bypassed it anyways.
Wrapper code (the vertex loaer test, as well as Fifo.cpp and OpcodeDecoding.cpp) still uses it, as does the software vertex loader (which is not a subclass of VertexLoader). These can probably be eliminated later.
Diffstat (limited to 'Source/UnitTests/VideoCommon/VertexLoaderTest.cpp')
| -rw-r--r-- | Source/UnitTests/VideoCommon/VertexLoaderTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp b/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp index 5e3898ed28..0ad4252221 100644 --- a/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp +++ b/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp @@ -91,7 +91,7 @@ protected: if (expected_count == -1) expected_count = count; ResetPointers(); - int actual_count = m_loader->RunVertices(m_src, m_dst, count); + int actual_count = m_loader->RunVertices(m_src.GetPointer(), m_dst.GetPointer(), count); EXPECT_EQ(actual_count, expected_count); } |
