Fixed ObjectName instance for VertexArrayObject.

The previous implementation failed to actually delete VAOs with
deleteObjectNames, thereby creating a memory leak.
Merge pull request #38 from acowley/VAO

Fixed ObjectName instance for VertexArrayObject.
fix indices for issue #39
Merge pull request #40 from MaxDaten/stack-space-overflow-fix

fix indices for issue #39
fix for fix of issue #39

the `-1` was lost
Merge pull request #41 from MaxDaten/patch-1

fix for fix of issue #39
OpenGL 3 deprecated separate polygon draw modes, so try to avoid them in polygonMode.
Merge remote-tracking branch 'upstream/master'

# By Jan-Philip Loos (2) and others
# Via Jason Dagit (3) and Sven Panne (1)
* upstream/master:
  OpenGL 3 deprecated separate polygon draw modes, so try to avoid them in polygonMode.
  fix for fix of issue #39
  fix indices for issue #39
  Fixed ObjectName instance for VertexArrayObject.