Texture unloading

Started by
9 comments, last by slicer4ever 12 years, 1 month ago

[quote name='slicer4ever' timestamp='1331225105' post='4920444']
looking at the SOIL source, i believe your looking for:


SOIL_free_image_data


look at the header for more information, and i don't claim to be 100% correct, i've never used soil, but i don't see anything else that seems to indicate deleting behavior.


I think that's only if you've loaded the file with

SOIL_load_image, because it returns an unsigned char buffer *, not an OpenGL asset ID.
[/quote]

you are correct sir, i skimmed over the header file, and saw that, and assumed it was what he was looking for in terms of SOIL consistency.

Check out https://www.facebook.com/LiquidGames for some great games made by me on the Playstation Mobile market.

This topic is closed to new replies.

Advertisement