Continued work on memory leaks and proper isReady usage

This commit is contained in:
Jonas Strandstedt
2014-12-11 16:48:49 +01:00
parent dc21196f70
commit da4fa44c03
19 changed files with 119 additions and 111 deletions
@@ -47,6 +47,7 @@ public:
GLfloat location[4];
GLfloat tex[2];
GLfloat normal[3];
GLfloat padding[7];
//GLubyte padding[4]; // Pads the struct out to 64 bytes for performance increase
} Vertex;
@@ -60,7 +61,6 @@ private:
GLuint _vBufferID = 7;
GLuint _iBufferID = 8;
GLenum _mode;
unsigned int _isize;
unsigned int _vsize;
Vertex* _varray;