|
Hi,
I was using this code to load and flip vertically a texture in 1.1.1 :
BufferedImage img = ImageIO.read(new File(filename));
ImageUtil.flipImageVertically(img);
texture = TextureIO.newTexture(img, false);
but TextureIO.newTexture(BufferdImage, boolean) doesn't exist anymore.
Anyone could help me to have same result than before ?
Is there any way to do that directly with JOGL2 or do I need to find another way ?
Thanks in advance.
|