BatchRenderer2D: OpenGL Core profile requires the use of VAO, so implement that.
This commit is contained in:
parent
4bc2b3fa56
commit
93f869acc6
2 changed files with 21 additions and 25 deletions
|
|
@ -58,6 +58,7 @@ protected :
|
|||
|
||||
std::vector<const Renderable2D*> m_queue;
|
||||
|
||||
unsigned int m_VAO;
|
||||
unsigned int m_IBO;
|
||||
unsigned int m_VBO;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue