Hi everyone,
I've been experiencing some strange behavior when working the AWTTextureIO.newTexture() function.
I haved loaded a texture atlas of 32x32 pixel images and I used BufferedImage.getSubimage() to obtain each individual texture.
The atlas only had 4 images, but I was able to use all images properly.
When I changed to 64x64 pixels (or 32x32 on a Mac), the textures objects behave strangely.
For 64x64, my first texture becomes nothing and the other 3 become the image represented by the first texture. Does this make sense?
On the mac, the first two textures become something random (I really don't know what happened, but I had flickering artifacts that seem to contain images of what was on my JFrame), and the 2nd two images work properly.
I've also read here that there is a bug that was found:
https://jogamp.org/bugzilla/show_bug.cgi?id=823So... what's going on here? Is there really an issue with this function? My code should be fine (checked it more than enough times). If there really is a bug with this function, how should I obtain a subimage in the meantime, while the bug is being fixed?
Thanks much! :)