mirror of https://github.com/RPCS3/rpcs3.git
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
|
@ -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…
Reference in New Issue