mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
gl: Fix ring buffer remove() function
- Fixes crash on running a second game in the same session
This commit is contained in:
parent
a421270c19
commit
25c05867d6
1 changed files with 1 additions and 6 deletions
|
@ -69,12 +69,7 @@ namespace gl
|
|||
m_size = 0;
|
||||
}
|
||||
|
||||
|
||||
if (m_id != GL_NONE)
|
||||
{
|
||||
glDeleteBuffers(1, &m_id);
|
||||
m_id = GL_NONE;
|
||||
}
|
||||
buffer::remove();
|
||||
}
|
||||
|
||||
void ring_buffer::notify()
|
||||
|
|
Loading…
Add table
Reference in a new issue