diff options
author | phil <[email protected]> | 2016-12-07 19:16:29 +1300 |
---|---|---|
committer | phil <[email protected]> | 2016-12-07 19:16:29 +1300 |
commit | b2ed893669ff5cb171d67107c02dec3bb9611a7d (patch) | |
tree | 33649b355ae934cb5e1da84141fad3f30c872f29 /src | |
parent | b9ca5f458228492ef3dfba6b85c8cc188860f42e (diff) |
Gl2es2Pipeline executed contexts for Geometry not recorded in Indexed
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/jogamp/java3d/IndexedGeometryArrayRetained.java | 7 | ||||
-rw-r--r-- | src/main/java/org/jogamp/java3d/VirtualUniverse.java | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/org/jogamp/java3d/IndexedGeometryArrayRetained.java b/src/main/java/org/jogamp/java3d/IndexedGeometryArrayRetained.java index e58d8e5..dbcc23d 100644 --- a/src/main/java/org/jogamp/java3d/IndexedGeometryArrayRetained.java +++ b/src/main/java/org/jogamp/java3d/IndexedGeometryArrayRetained.java @@ -1159,6 +1159,13 @@ abstract class IndexedGeometryArrayRetained extends GeometryArrayRetained { boolean updateAlpha, float alpha, int screen, boolean ignoreVertexColors) { + //FIXME: PJPJPJ big ugly hack for buffers + if(cv.ctx!= prevContext) + { + ctxExecutedOn.add(cv.ctx); + prevContext = cv.ctx; + } + int cdirty; boolean useAlpha = false; Object[] retVal; diff --git a/src/main/java/org/jogamp/java3d/VirtualUniverse.java b/src/main/java/org/jogamp/java3d/VirtualUniverse.java index 4da4396..89b83bd 100644 --- a/src/main/java/org/jogamp/java3d/VirtualUniverse.java +++ b/src/main/java/org/jogamp/java3d/VirtualUniverse.java @@ -27,7 +27,6 @@ package org.jogamp.java3d; import java.util.ArrayList; -import java.util.Iterator; import java.util.HashSet; import java.util.Iterator; import java.util.Map; |