summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChien Yang <[email protected]>2006-11-22 21:37:58 +0000
committerChien Yang <[email protected]>2006-11-22 21:37:58 +0000
commit806c7b05526ebffe315ae2129cb286770e4cd6e5 (patch)
tree32a289cc4ca68fa3790c17ded03690c7fa02252b
parent56ce500df43f4da26cfc29c507e99c5c01327fa1 (diff)
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
-rw-r--r--src/classes/share/com/sun/j3d/utils/image/TextureLoader.java5
1 files changed, 0 insertions, 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();