Update VertexBuffer.cpp

you must bind buffer before setting glVertexAttribPointer and rendering with glDrawArrays