mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
only use one buffer, orphaning should do the rest
This commit is contained in:
parent
ba8264c2ac
commit
1919a458e8
4 changed files with 72 additions and 106 deletions
|
@ -1453,7 +1453,7 @@ void Renderer::RestoreAPIState()
|
|||
PixelShaderCache::SetCurrentShader(0);
|
||||
|
||||
VertexManager *vm = (OGL::VertexManager*)g_vertex_manager;
|
||||
glBindBuffer(GL_ARRAY_BUFFER, vm->m_vertex_buffers[vm->m_current_buffer]);
|
||||
glBindBuffer(GL_ARRAY_BUFFER, vm->m_vertex_buffers);
|
||||
vm->m_last_vao = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue