Let’s say I’ve created a texture map using glGenTextures/bindTexture/TexParameter/TexImage2D… and then I make a display list that wraps that texture around its primitive object. When I call glDeleteList(…) on the above DL, do I also need to free up the memory that was taken up by the texture, or will it automatically be de-allocated? Thanks.
The texture and the display list are two different objects, and the texture will not be affected when deleting the display list. So you need to manually delete the texture aswell.