mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +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
|
@ -1796,7 +1796,7 @@ void Renderer::RestoreAPIState()
|
|||
|
||||
ProgramShaderCache::BindLastVertexFormat();
|
||||
const VertexManager* const vm = static_cast<VertexManager*>(g_vertex_manager.get());
|
||||
glBindBuffer(GL_ARRAY_BUFFER, vm->m_vertex_buffers);
|
||||
glBindBuffer(GL_ARRAY_BUFFER, vm->GetVertexBufferHandle());
|
||||
|
||||
OGLTexture::SetStage();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue