Advertisement

OpenIL to generate textures

Started by July 17, 2005 02:34 PM
0 comments, last by relpats_eht 19 years, 1 month ago
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.
- relpats_eht
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.
- relpats_eht

This topic is closed to new replies.

Advertisement