Sign in to follow this  
evolutional

GGC Crash with ilUT and DevIL

Recommended Posts

Hi, I'm experiencing an annoying problem trying to use DevIL's OpenGL bindings, whenever I try and use any functions that deal with ilut and OpenGL, I get a nasty crash. I've tried calling both ilutGLTexImage and ilutGLBindTexImage and they both segfault on me. I have initialised ilut with ilutRenderer( ILUT_OPENGL ) and the DevIL image has loaded correctly, just whenever I try and use some of the helper functions I'm getting a crash. Has anyone else experienced this problem? If so, can you help me fix it - I'll give you a rating and a cookie. I'm using MinGW, with GCC 3.4.x and the DevIL 1.6.7 SDK which was downloaded precompiled from the SF project page. Thanks

Share this post


Link to post
Share on other sites
I just stepped through the DevIL ILUT functions in question with the debugger and they *seem* to be working correctly, however the return variable from ilutGLBindTexImage() is set incorrectly afterwards. The only thing I can think of is that the heap is getting corrupted somewhere along the line.

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