mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-18 08:21:11 +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;
|
m_size = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buffer::remove();
|
||||||
if (m_id != GL_NONE)
|
|
||||||
{
|
|
||||||
glDeleteBuffers(1, &m_id);
|
|
||||||
m_id = GL_NONE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ring_buffer::notify()
|
void ring_buffer::notify()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue