daw42 / glslcookbook

Example code for the OpenGL Shading Language Cookbook - 2nd Edition (3rd Edition now available)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

glDeleteVertexArrays / glDeleteBuffers

zulis opened this issue · comments

I own your book and don't get (or cannot find explanation in book) why glDeleteVertexArrays and glDeleteBuffers are not used in the source code?

It isn't really necessary for these simple examples. However, if I were making a more substantial app, where resources were created and destroyed over time, I'd certainly need to use these functions.