gl: Reset buffer size on destroying the GPU handle

This commit is contained in:
kd-11 2022-06-02 19:36:17 +03:00 committed by kd-11
parent 555a4b5f5c
commit fc44d53bb0

View file

@ -738,6 +738,7 @@ namespace gl
{
glDeleteBuffers(1, &m_id);
m_id = GL_NONE;
m_size = 0;
}
}