summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/classes/share/com/sun/j3d/utils/image/TextureLoader.java3
1 files changed, 1 insertions, 2 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 5046cbb..3cd5969 100644
--- a/src/classes/share/com/sun/j3d/utils/image/TextureLoader.java
+++ b/src/classes/share/com/sun/j3d/utils/image/TextureLoader.java
@@ -812,8 +812,7 @@ public class TextureLoader extends Object {
bandOffset[ii] = ii;
nBits[ii] = 8;
}
- ComponentColorModel colorModel = new ComponentColorModel(cs, nBits, true, false, Transparency.TRANSLUCENT, 0);
-
+
wr = java.awt.image.Raster.createInterleavedRaster(DataBuffer.TYPE_BYTE,
scaleW, scaleH,
scaleW * numComponents, numComponents,