summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader.h
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2014-12-09 08:30:38 +0100
committerdegasus <wickmarkus@web.de>2014-12-09 18:56:27 +0100
commit02cdb41d3d3eec73d2c843fe865ff906e01b44a4 (patch)
treefc2c7ad8da7c7351a740bfefd6c62a5c9e754f23 /Source/Core/VideoCommon/VertexLoader.h
parent50de4238bb1bbceb4797821d8ec428ab1d075aaa (diff)
VideoCommon: Rename s_pCurBufferPointer
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.h')
-rw-r--r--Source/Core/VideoCommon/VertexLoader.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.h b/Source/Core/VideoCommon/VertexLoader.h
index 1eedd13b25..60b9bb3def 100644
--- a/Source/Core/VideoCommon/VertexLoader.h
+++ b/Source/Core/VideoCommon/VertexLoader.h
@@ -194,9 +194,9 @@ __forceinline void Vertex_Read_SSSE3(const T* pData, __m128 scale)
{
coords = _mm_shuffle_epi8(coords, threeIn ? kMaskSwap32_3 : kMaskSwap32_2);
if (threeOut)
- _mm_storeu_si128((__m128i*)VertexManager::s_pCurBufferPointer, coords);
+ _mm_storeu_si128((__m128i*)g_vertex_manager_write_ptr, coords);
else
- _mm_storel_epi64((__m128i*)VertexManager::s_pCurBufferPointer, coords);
+ _mm_storel_epi64((__m128i*)g_vertex_manager_write_ptr, coords);
}
else
{
@@ -213,11 +213,11 @@ __forceinline void Vertex_Read_SSSE3(const T* pData, __m128 scale)
__m128 out = _mm_mul_ps(_mm_cvtepi32_ps(coords), scale);
if (threeOut)
- _mm_storeu_ps((float*)VertexManager::s_pCurBufferPointer, out);
+ _mm_storeu_ps((float*)g_vertex_manager_write_ptr, out);
else
- _mm_storel_pi((__m64*)VertexManager::s_pCurBufferPointer, out);
+ _mm_storel_pi((__m64*)g_vertex_manager_write_ptr, out);
}
- VertexManager::s_pCurBufferPointer += sizeof(float) * (2 + threeOut);
+ g_vertex_manager_write_ptr += sizeof(float) * (2 + threeOut);
}
#endif