opengles3-book icon indicating copy to clipboard operation
opengles3-book copied to clipboard

delete shader in "Hello triangle"

Open heroboy opened this issue 6 years ago • 0 comments

Hi, I'm new to opengles.

In "Hello Triangle"'s Shutdown, you only call glDeleteProgram. Acctording to the document, glDeleteProgram doesn't delete the attached shaders. So is it nesscssory to call glDeleteShader in Shutdown or in LoadShader.

heroboy avatar Mar 21 '18 05:03 heroboy