Skip Menu |

This queue is for tickets about the OpenGL-Image CPAN distribution.

Report information
The Basics
Id: 39185
Status: resolved
Priority: 0/
Queue: OpenGL-Image

People
Owner: BFREE [...] cpan.org
Requestors: garu [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



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!
Show quoted text
> The documentation seems wrong... > $tex->PowerOf2()
Good catch! I'll fix it in the next release. Thanks - Bob
Fixed in 1.03 - thanks for the catch.