Hi On Thu, Sep 10, 2015 at 3:22 PM, Gerd Hoffmann <kra...@redhat.com> wrote: >> > + glBindBuffer (GL_ARRAY_BUFFER, 0); >> > + glBindVertexArray (0); >> > + glDeleteBuffers (1, &buffer); >> > + >> >> extra space before ( > > Fixed. > >> Is the unbinding necessary? > > Unbinding? Do you mam the DeleteBuffers? >
The glBind..(.., 0) I think they shouldn't be necessary unless you have some other gl context sensitive code. -- Marc-André Lureau