mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
gl: Finalize host labels implementation
This commit is contained in:
parent
0db06964dc
commit
681debd8f6
14 changed files with 166 additions and 65 deletions
|
|
@ -242,14 +242,14 @@ namespace gl
|
|||
}
|
||||
}
|
||||
|
||||
void scratch_ring_buffer::create(buffer::target target_, u64 size)
|
||||
void scratch_ring_buffer::create(buffer::target target_, u64 size, u32 usage_flags)
|
||||
{
|
||||
if (m_storage)
|
||||
{
|
||||
remove();
|
||||
}
|
||||
|
||||
m_storage.create(target_, size, nullptr, gl::buffer::memory_type::local, GL_STATIC_COPY);
|
||||
m_storage.create(target_, size, nullptr, gl::buffer::memory_type::local, usage_flags);
|
||||
}
|
||||
|
||||
void scratch_ring_buffer::remove()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue