I'd like to say that I really like devIL, it saves me loads of time. However, I've come across something very annoying:
Many of the methods of ilImage aren't declared const while they should be, for example:
All these should be const, but they're not.
Is this by design? I mean do these methods really modify anything?
The parameter for ilImage::Load() is a "char *", not a "const char*".
I use std::string's to hold my data, and when I get them using c_str(), I get a compiler error:
Cannot convert from "const char*" to "char*"
The methods obviously shouldn't modify the passed name, so it should be const.
Hope this gets fixed soon, thanks :)
Log in to post a comment.