mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
build fix
This commit is contained in:
parent
6e20af9ee9
commit
0c7aa4ff4f
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ void StreamBuffer::Init()
|
|||
for(u32 i=0; i<SYNC_POINTS; i++)
|
||||
fences[i] = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0);
|
||||
|
||||
pointer = AllocateAlignedMemory(m_size, ALGIN_PINNED_MEMORY);
|
||||
pointer = (u8*)AllocateAlignedMemory(m_size, ALGIN_PINNED_MEMORY);
|
||||
glBindBuffer(GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD, m_buffer);
|
||||
glBufferData(GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD, m_size, pointer, GL_STREAM_COPY);
|
||||
glBindBuffer(GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD, 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue