I found one problem during the migration to jogl 2.3.1. For some reason that code for crating new drawable texture fails with an error.
The code:
TextureRenderer tr = new TextureRenderer(img.getWidth(), img.getHeight(), true, true);
And the error is:
com.jogamp.opengl.GLException: Could not find PixelFormat for format and/or type: PixelAttributes[fmt 0x80e1, type 0x8367, null]
at com.jogamp.opengl.util.GLPixelBuffer$GLPixelAttributes.<init>(GLPixelBuffer.java:494) ~[jogl-all-2.3.1.jar:2.3.1]
at com.jogamp.opengl.util.GLPixelBuffer$GLPixelAttributes.<init>(GLPixelBuffer.java:460) ~[jogl-all-2.3.1.jar:2.3.1]
at com.jogamp.opengl.util.texture.awt.AWTTextureData.createFromImage(AWTTextureData.java:217) ~[jogl-all-2.3.1.jar:2.3.1]
at com.jogamp.opengl.util.texture.awt.AWTTextureData.<init>(AWTTextureData.java:127) ~[jogl-all-2.3.1.jar:2.3.1]
at com.jogamp.opengl.util.awt.TextureRenderer.init(TextureRenderer.java:636) ~[jogl-all-2.3.1.jar:2.3.1]
at com.jogamp.opengl.util.awt.TextureRenderer.<init>(TextureRenderer.java:139) ~[jogl-all-2.3.1.jar:2.3.1]
at com.jogamp.opengl.util.awt.TextureRenderer.<init>(TextureRenderer.java:130) ~[jogl-all-2.3.1.jar:2.3.1]
at kendzi.jogl.texture.builder.BwFileTextureBuilder.loadTextureRenderer(BwFileTextureBuilder.java:102) ~[kendzi3d.jar:?]
I don't have idea what is wrong.