diff options
author | Kevin Rushforth <[email protected]> | 2007-04-13 17:59:45 +0000 |
---|---|---|
committer | Kevin Rushforth <[email protected]> | 2007-04-13 17:59:45 +0000 |
commit | 4b7f00ce1b26ac4a7347df5cbb34dbba74219c99 (patch) | |
tree | 1fa366f81a1a2d70ac7c1f2a97475fe8b2517077 /src/classes/jogl | |
parent | 4aa069519c612a960a4812aaa22d3b5d179d01c0 (diff) |
Fixed issue 479: JOGL: Screen door transparency renders incorrectly on JoglPipeline
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@820 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/classes/jogl')
-rw-r--r-- | src/classes/jogl/javax/media/j3d/JoglPipeline.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/classes/jogl/javax/media/j3d/JoglPipeline.java b/src/classes/jogl/javax/media/j3d/JoglPipeline.java index 541d78c..8fac8f9 100644 --- a/src/classes/jogl/javax/media/j3d/JoglPipeline.java +++ b/src/classes/jogl/javax/media/j3d/JoglPipeline.java @@ -5025,8 +5025,8 @@ class JoglPipeline extends Pipeline { }; private static final ByteBuffer[] screen_door_table = new ByteBuffer[screen_door.length]; static { - int eachLen = screen_door[0].length; - ByteBuffer buf = BufferUtil.newByteBuffer(screen_door.length * eachLen * BufferUtil.SIZEOF_INT); + int eachLen = screen_door[0].length * BufferUtil.SIZEOF_INT; + ByteBuffer buf = BufferUtil.newByteBuffer(screen_door.length * eachLen); IntBuffer intBuf = buf.asIntBuffer(); for (int i = 0; i < screen_door.length; i++) { intBuf.put(screen_door[i]); |