mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
OGL/VertexManager: Make vertex and index buffer handles private
These are only ever read, but not written to outside of the VertexManager class.
This commit is contained in:
parent
657195fad5
commit
2237a6a04c
4 changed files with 18 additions and 6 deletions
|
@ -61,6 +61,16 @@ void VertexManager::DestroyDeviceObjects()
|
|||
s_indexBuffer.reset();
|
||||
}
|
||||
|
||||
GLuint VertexManager::GetVertexBufferHandle() const
|
||||
{
|
||||
return m_vertex_buffers;
|
||||
}
|
||||
|
||||
GLuint VertexManager::GetIndexBufferHandle() const
|
||||
{
|
||||
return m_index_buffers;
|
||||
}
|
||||
|
||||
void VertexManager::PrepareDrawBuffers(u32 stride)
|
||||
{
|
||||
u32 vertex_data_size = IndexGenerator::GetNumVerts() * stride;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue