On Mac OS X, if you create a GLPbuffer and specify a width or height that is not
a power of 2, it rounds the size up to the next power of two. This is confusing
and inconsistent with other platforms. It can be improved in several ways:
1. When the hardware supports non-power-of-2 textures, it should give you a
pbuffer of the size you requested.
2. If the hardware does not support it, it should throw an exception rather than
silently giving you a pbuffer of a different size than you requested. This will
save a lot of confusion and bugs. Programmers will discover their mistake
immediately rather than having the program seem to work but produce incorrect
3. The Javadocs should discuss the limitations on pbuffer sizes so people will
be aware of them.
For more details, see this discussion thread: