summaryrefslogtreecommitdiffstats
path: root/src/classes
diff options
context:
space:
mode:
authorpepe <[email protected]>2006-11-28 07:56:21 +0000
committerpepe <[email protected]>2006-11-28 07:56:21 +0000
commita8cb2fc8a264b00ff0ca5eec272008384d72be5a (patch)
tree08e31cb5526dc847ba9a7b58c616c135261dbd14 /src/classes
parent6fd9985612eede30344013a5d2879be2a500220b (diff)
bug id 383: JCanvas3D's offscreen Canvas3D is inverted.
Changed the buffer to be yDown, (yUp to false in constructor). Nevertheless, that might not be the fastest solution. Corrected rapidly in order to have a functionning JCanvas3D, but that might need further experimentations with Yup but inverted image blitting. git-svn-id: https://svn.java.net/svn/j3d-core-utils~svn/trunk@141 9497e636-51bd-65ba-982d-a4982e1767a5
Diffstat (limited to 'src/classes')
-rw-r--r--src/classes/share/com/sun/j3d/exp/swing/JCanvas3D.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/share/com/sun/j3d/exp/swing/JCanvas3D.java b/src/classes/share/com/sun/j3d/exp/swing/JCanvas3D.java
index 5d3928c..7189694 100644
--- a/src/classes/share/com/sun/j3d/exp/swing/JCanvas3D.java
+++ b/src/classes/share/com/sun/j3d/exp/swing/JCanvas3D.java
@@ -331,7 +331,7 @@ public class JCanvas3D extends JPanel implements AncestorListener {
java.awt.image.BufferedImage bImage = new java.awt.image.BufferedImage(width,
height, java.awt.image.BufferedImage.TYPE_INT_ARGB);
javax.media.j3d.ImageComponent2D image = new javax.media.j3d.ImageComponent2D(javax.media.j3d.ImageComponent2D.FORMAT_RGBA8,
- bImage, true, true);
+ bImage, true, false );
image.setCapability(image.ALLOW_IMAGE_READ);
image.setCapability(image.ALLOW_IMAGE_WRITE);