TheCherno / Sparky

Cross-Platform High Performance 2D/3D game engine for people like me who like to write code.
Apache License 2.0
1.1k stars 222 forks source link

m_Buffers in vertexarray never filled #17

Closed Maxchii closed 9 years ago

Maxchii commented 9 years ago

Files: vertexarray.h and vertexarray.cpp

Seems like std::vector<Buffer*> m_Buffers; is defined, however there is no logic that adds buffers to the vector. Therefore making the loop in VertexArray::~VertexArray() and std::vector<Buffer*>vector unnecessary.

TheCherno commented 9 years ago

Fixed in Ep. 20! Thanks. :)

Maxchii commented 9 years ago

No problem!