mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
gl: Reset buffer size on destroying the GPU handle
This commit is contained in:
parent
555a4b5f5c
commit
fc44d53bb0
1 changed files with 1 additions and 0 deletions
|
@ -738,6 +738,7 @@ namespace gl
|
||||||
{
|
{
|
||||||
glDeleteBuffers(1, &m_id);
|
glDeleteBuffers(1, &m_id);
|
||||||
m_id = GL_NONE;
|
m_id = GL_NONE;
|
||||||
|
m_size = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue