Sign in to follow this  
relpats_eht

OpenIL to generate textures

Recommended Posts

I was wondering if anyone would show me a good way to load OGL textures via OpenIL. I think all you have to do is set ilutRenderer to ILUT_OPENGL and the you can use ilutGLLoadImage(char* filename); to load the textrue and get the pointer to it, but im not sure, and dont think it is correct. so any help would be appreciated.

Share this post


Link to post
Share on other sites
disregard the above, I have figured it out.

however, my program now crashes upon exit (from what my tests can tell, on or after the main's return statement) so i wonder if anyone could tell me why that is occuring.

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