Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete shader in "Hello triangle" #51

Open
heroboy opened this issue Mar 21, 2018 · 0 comments
Open

delete shader in "Hello triangle" #51

heroboy opened this issue Mar 21, 2018 · 0 comments

Comments

@heroboy
Copy link

heroboy commented Mar 21, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant