forked from dolphin-emu/dolphin
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user