diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2015-01-06 17:49:27 +0100 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2015-01-18 12:59:33 +0100 |
| commit | 2cedc0034def0d8e8b23fafceca9a0f87bdd2e63 (patch) | |
| tree | 6e25924604d446108c73bec6cc61450e7b906d8f /Source/Core/VideoCommon/VertexLoader.cpp | |
| parent | 68d204e877042f60301f4b0092ff48b872b1d78c (diff) | |
DataReader: turn WritePointer into GetPointer
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp index e2a2073ccf..a605c6b2d7 100644 --- a/Source/Core/VideoCommon/VertexLoader.cpp +++ b/Source/Core/VideoCommon/VertexLoader.cpp @@ -453,8 +453,8 @@ void VertexLoader::WriteSetVariable(int bits, void *address, OpArg value) 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); + g_vertex_manager_write_ptr = dst.GetPointer(); + g_video_buffer_read_ptr = src.GetPointer(); m_numLoadedVertices += count; m_skippedVertices = 0; |
