mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
VideoCommon: Rename s_pCurBufferPointer
This commit is contained in:
parent
50de4238bb
commit
02cdb41d3d
10 changed files with 35 additions and 30 deletions
|
@ -7,6 +7,7 @@
|
|||
#include "VideoCommon/VertexManagerBase.h"
|
||||
|
||||
extern u8* g_video_buffer_read_ptr;
|
||||
extern u8* g_vertex_manager_write_ptr;
|
||||
|
||||
|
||||
__forceinline void DataSkip(u32 skip)
|
||||
|
@ -88,6 +89,6 @@ __forceinline u8* DataGetPosition()
|
|||
template <typename T>
|
||||
__forceinline void DataWrite(T data)
|
||||
{
|
||||
*(T*)VertexManager::s_pCurBufferPointer = data;
|
||||
VertexManager::s_pCurBufferPointer += sizeof(T);
|
||||
*(T*)g_vertex_manager_write_ptr = data;
|
||||
g_vertex_manager_write_ptr += sizeof(T);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue