Revert "use unordered_dense to mitigate __next_prime overflow error"

This reverts commit b082e2e06b.
This commit is contained in:
BZLZHH
2025-05-17 11:13:19 +08:00
parent c848255b43
commit 9297542dcf
9 changed files with 34 additions and 2142 deletions
@@ -45,9 +45,8 @@ public:
public: // TODO
std::unordered_map<GLuint, VertexArrayObject> vaos_;
// std::set<GLuint> freeIds_;
std::vector<GLuint> freeId_;
GLuint lastId_ = 1; // reserve 0 for default vao
std::set<GLuint> freeIds_;
GLuint lastId_ = 0;
GLuint currentVao_ = 0;
};