BryceMehring / GameEngine

C++ OpenGL Cross Platform Game Engine
7 stars 2 forks source link

Fix boundary conditions when writing to vertex buffers #63

Closed BryceMehring closed 10 years ago

BryceMehring commented 10 years ago

if(m_iCurrentLength < m_pVertexBuffer->GetLength())

should change to

if(m_iCurrentLength*4 < m_pVertexBuffer->GetLength())

BryceMehring commented 10 years ago

Fixed: a5d839ec2d57587e6df6d0597f07c73203b2344e