Closed traguill closed 7 years ago
Provisional solution: don't unload the buffer number 9.
void ModuleRenderer3D::RemoveBuffer(unsigned int id)
{
glDeleteBuffers(1, (GLuint*)&id);
if(id != 9)
glDeleteBuffers(1, (GLuint*)&id);
}
Apparently solved by now
Always happens when the buffer with id 9 is removed from the GPU.