This topic is now archived and is closed to further replies.

How to delete texture

This topic is 5505 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok, I made a 3D Engine with lightmap, everything and bla bla bla wada wada like QuakeI,II,III. So you see that I know OpenGL. But... it''s funny, I don''t know how to kill texture !?! I change map in my console, ex: map Basement.uos, and I load all the thing for the next. Before, I need to kill my current map to free memory. So I delete all model, all wall, all light, but lightmap and Texture still here in the memory, I dont know how to delete them in OpenGL !? For each texture in my dynamic list i have the ID for binding it. So there is a function in opengl that kill the texture in memory? exemple : gl_KillTexture(TexID); ??? Help please.. thanks. DUK engine Troa Technologies. (3d game development)

Share this post

Link to post
Share on other sites