From 806c7b05526ebffe315ae2129cb286770e4cd6e5 Mon Sep 17 00:00:00 2001 From: Chien Yang Date: Wed, 22 Nov 2006 21:37:58 +0000 Subject: Fixed Issue : 393 - 1.5.0-beta2 : TextureLoader regression on BufferedImage.TYPE_BYTE_INDEXED. git-svn-id: https://svn.java.net/svn/j3d-core-utils~svn/trunk@139 9497e636-51bd-65ba-982d-a4982e1767a5 --- src/classes/share/com/sun/j3d/utils/image/TextureLoader.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/classes/share/com/sun/j3d/utils/image/TextureLoader.java b/src/classes/share/com/sun/j3d/utils/image/TextureLoader.java index 0376bd2..5046cbb 100644 --- a/src/classes/share/com/sun/j3d/utils/image/TextureLoader.java +++ b/src/classes/share/com/sun/j3d/utils/image/TextureLoader.java @@ -592,11 +592,6 @@ public class TextureLoader extends Object { imageComponentFormat = ImageComponent.FORMAT_RGB; textureFormat = Texture.RGB; break; - case BufferedImage.TYPE_BYTE_INDEXED : - //System.out.println("ChooseFormat TYPE_BYTE_INDEXED"); - imageComponentFormat = ImageComponent.FORMAT_RGB; - textureFormat = Texture.RGB; - break; case BufferedImage.TYPE_CUSTOM: if (is4ByteRGBAOr3ByteRGB(image)) { SampleModel sm = image.getSampleModel(); -- cgit v1.2.3