---- Reported by peastman 2008-02-23 11:30:26 ---- 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 results. 3. The Javadocs should discuss the limitations on pbuffer sizes so people will be aware of them. For more details, see this discussion thread: http://www.javagaming.org/forums/index.php?topic=18218.0 --- Bug imported by sgothel@jausoft.com 2010-03-24 07:51 EDT --- This bug was previously known as _bug_ 345 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=345
works, see unit test jogl/src/junit/com/jogamp/test/junit/jogl/offscreen/TestOffscreen01NEWT.java