glsl devil issue

Started by
3 comments, last by harshman_chris 11 years, 2 months ago

So I am trying to use glsl devil but it crashes on a call glTexImage2D because the bits value is a <Bad Ptr>, this doesnt happen in visual studio 2010, the working directory is set right otherwise the shaders would not load before this.

I am at a loss to why this is happening.

Any thoughts, anyone had experience with this happening before?

Advertisement

If it crashes on glTexImage2D() then the problem should be that the texture was not loaded correctly, and as such the data pointer is invalid, so this as nothing to do with GLSL.

Did you check if the texture was loaded correctly from the file?

Check if the path is correct, and also check for errors after loading the texture.

Also, check http://content.gpwiki.org/index.php/DevIL:Tutorials:Basics if you're having doubts.

glslDevil not Dev Image Library

Sorry, my bad...

So I realized this issue is because glsl devil doesnt support higher than OpenGL 2.1, so I am not longer using it.

This topic is closed to new replies.

Advertisement