Sign in to follow this  

Freeing OpenGL textures?

Recommended Posts

I know how to use the glTexImage2D function. However, when I'm finished with a texture created with it (for instance, if a particular piece of art isn't used on the next level of my game or something like that), how do I free the memory taken up by that function call?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this