1
0
Fork 0

BatchRenderer2D: OpenGL Core profile requires the use of VAO, so implement that.

This commit is contained in:
Henrik Hautakoski 2018-02-28 00:07:03 +01:00
parent 4bc2b3fa56
commit 93f869acc6
2 changed files with 21 additions and 25 deletions

View file

@ -58,6 +58,7 @@ protected :
std::vector<const Renderable2D*> m_queue;
unsigned int m_VAO;
unsigned int m_IBO;
unsigned int m_VBO;