Fix painter gizmos crash on macOS

This commit is contained in:
Noisyfox 2023-11-06 20:42:02 +08:00
parent 28e2995a01
commit e57f68a266
4 changed files with 0 additions and 25 deletions

View file

@ -138,7 +138,6 @@ protected:
void clear()
{
// BBS
this->m_vertices_VAO_ids.clear();
this->m_vertices_VBO_ids.clear();
this->m_triangle_indices_VBO_ids.clear();
this->m_triangle_indices_sizes.clear();
@ -167,7 +166,6 @@ protected:
// IDs of the Vertex Array Objects, into which the geometry has been loaded.
// Zero if the VBOs are not sent to GPU yet.
//unsigned int m_vertices_VBO_id{ 0 };
std::vector<unsigned int> m_vertices_VAO_ids;
std::vector<unsigned int> m_vertices_VBO_ids;
std::vector<unsigned int> m_triangle_indices_VBO_ids;