Subject: | IsPowerOf2() |
Hi there!
The documentation seems wrong... It says I should check if the image is
a power of 2 by:
$tex->PowerOf2()
but it returns:
Can't locate object method "PowerOf2" via package "..."
After a bit of fiddling around I found the OpenGL::Image::Magick engine
module, and it turns out to show the correct method:
$tex->IsPowerOf2()
The OpenGL::Image::Targa engine and the OpenGL::Image::Common baseclass
all have the correct method in the documentation, but since
OpenGL::Image is probably the one people will interface with, I guess
it's actually important to fix the documentation.
Thanks!