ilActiveMipmap does not work as there is an off by one
bug in the lookup of the desired mipmap. The bug
applies to ilActiveLayer and ilActiveImage as well. I
have attached a patch to the 1.6.5 source tree.
I would also like to suggest that the names of these
function be changed as they imply a kind of BIND. It
took me quite a while before I realised that it is
necessary to re-bind the base image before a second
call to any (ilActiveMipmap in my case) would work. At
the very least something should be added to the
documentation about this.
ilBindActiveMipmap() or ilBindImageMipmap()
One of these ( I like the second ) be better in my view
as they more accurately reflect the semantics of what
Log in to post a comment.