aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/classes/share/javax/media/j3d/ImageComponent3DRetained.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/classes/share/javax/media/j3d/ImageComponent3DRetained.java b/src/classes/share/javax/media/j3d/ImageComponent3DRetained.java
index ed8c575..22e5cc1 100644
--- a/src/classes/share/javax/media/j3d/ImageComponent3DRetained.java
+++ b/src/classes/share/javax/media/j3d/ImageComponent3DRetained.java
@@ -46,8 +46,9 @@ class ImageComponent3DRetained extends ImageComponentRetained {
geomLock.getLock();
- if(byReference) {
- setRefImage(image,0);
+ if(byReference) {
+ // Fix to issue 488.
+ setRefImage(image, index);
}
if(imageData == null) {