diff options
author | Sven Gothel <[email protected]> | 2014-01-14 19:38:49 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-01-14 19:38:49 +0100 |
commit | f8a74c9831c65725a699320c27e62161a0378241 (patch) | |
tree | d98f024c84ab31404e4b8bb7608dd60941965f4b /make/config/jogl/gl-impl-CustomJavaCode-gles3.java | |
parent | 961930f9e2cd40dc4de736201bcfa68c1ff09909 (diff) |
Revert "Bug 942 - Share GLBufferStateTracker ; Unify GLBufferStateTracker and GLBufferSizeTracker (simplification)"
This reverts commit 7c5483d5b20aed9c87c5ce3f6bc840b6546edcd1.
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-gles3.java')
-rw-r--r-- | make/config/jogl/gl-impl-CustomJavaCode-gles3.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gles3.java b/make/config/jogl/gl-impl-CustomJavaCode-gles3.java index 006ee4da1..d5ad16873 100644 --- a/make/config/jogl/gl-impl-CustomJavaCode-gles3.java +++ b/make/config/jogl/gl-impl-CustomJavaCode-gles3.java @@ -2,9 +2,11 @@ public GLES3Impl(GLProfile glp, GLContextImpl context) { this._context = context; if(null != context) { + this.bufferSizeTracker = context.getBufferSizeTracker(); this.bufferStateTracker = context.getBufferStateTracker(); this.glStateTracker = context.getGLStateTracker(); } else { + this.bufferSizeTracker = null; this.bufferStateTracker = null; this.glStateTracker = null; } @@ -209,6 +211,7 @@ public final GL2GL3 getGL2GL3() throws GLException { // private final boolean _isES3; +private final GLBufferSizeTracker bufferSizeTracker; private final GLBufferStateTracker bufferStateTracker; private final GLStateTracker glStateTracker; |