Advertisement Jump to content
Sign in to follow this  

DevIl and Image Origins

This topic is 4979 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was just wondering if some one knows a reliable way of getting the origin attribute of an already loaded Il image. I know that there are a IL_IMAGE_ORIGIN attribute but have not been able to do some usefull with it. I know I can set DevIl to convert on load with ilOriginFunc and retrive the settings for the origin func with ilGetInteger(IL_ORIGIN_MODE), but I was hoping to use ilGetInteger(IL_IMAGE_ORIGIN) instead of forcing flipping of images since the actual loading of images in devil may be outside my control. I've tried to find out for some time but to no avail. Googling for it doesn't seem to help either. (unless you wanna read about the origin of the devil that is). Is it broken (il_image_origin)?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!