gl: Reset buffer size on destroying the GPU handle
This commit is contained in:
@@ -738,6 +738,7 @@ namespace gl
|
||||
{
|
||||
glDeleteBuffers(1, &m_id);
|
||||
m_id = GL_NONE;
|
||||
m_size = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user