CITMProject3 / Project3

Ri-Karts! The best Yo-kai racing game
https://citmproject3.github.io/Project3/
MIT License
7 stars 3 forks source link

All imgui UI dissapears (but still works) #7

Closed traguill closed 7 years ago

traguill commented 7 years ago

Always happens when the buffer with id 9 is removed from the GPU.

traguill commented 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);
  }
markitus18 commented 7 years ago

Apparently solved by now