diff options
| author | comex <comexk@gmail.com> | 2014-08-26 13:37:32 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2014-09-28 21:25:12 -0400 |
| commit | 0ae9e398c8e0f808eb4da6cc6f5e3cd553e975a1 (patch) | |
| tree | d63d843b45063298d4ac3a05433394c6889e7788 /Source/UnitTests/VideoCommon/VertexLoaderTest.cpp | |
| parent | e86ddacb18affaef2d773b0c86fdf57f93d594c4 (diff) | |
Rejigger some FIFO buffer variables to be more rational.
videoBuffer -> s_video_buffer
size -> s_video_buffer_write_ptr
g_pVideoData -> g_video_buffer_read_ptr (impl moved to Fifo.cpp)
This eradicates the wonderful use of 'size' as a global name, and makes
it clear that s_video_buffer_write_ptr and g_video_buffer_read_ptr are
the two ends of the FIFO buffer s_video_buffer.
Oh, and remove a useless namespace {}.
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 1126cbd73a..576e9a8a53 100644 --- a/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp +++ b/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp @@ -74,7 +74,7 @@ protected: void ResetPointers() { - g_pVideoData = &input_memory[0]; + g_video_buffer_read_ptr = &input_memory[0]; VertexManager::s_pCurBufferPointer = &output_memory[0]; m_input_pos = m_output_pos = 0; } |
