From 52cd45860154467b28046a7a417ac9d6b0cc3d49 Mon Sep 17 00:00:00 2001 From: shadowislord Date: Tue, 3 Jun 2014 23:10:49 -0400 Subject: [PATCH] * Added two missing 32-bit image formats to TestImageRaster: ARGB8 and BGRA8 --- .../src/main/java/jme3test/texture/TestImageRaster.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jme3-examples/src/main/java/jme3test/texture/TestImageRaster.java b/jme3-examples/src/main/java/jme3test/texture/TestImageRaster.java index 1cbcbe993..9a22bf134 100644 --- a/jme3-examples/src/main/java/jme3test/texture/TestImageRaster.java +++ b/jme3-examples/src/main/java/jme3test/texture/TestImageRaster.java @@ -133,6 +133,12 @@ public class TestImageRaster extends SimpleApplication { image = convertImage(image, Format.BGR8); convertAndPutImage(image, 25, 5); + image = convertImage(image, Format.ARGB8); + convertAndPutImage(image, 30, 5); + + image = convertImage(image, Format.BGRA8); + convertAndPutImage(image, 35, 5); + image = convertImage(image, Format.RGB5A1); convertAndPutImage(image, 0, 10);