diff options
author | phil <[email protected]> | 2016-10-17 16:32:04 +1300 |
---|---|---|
committer | phil <[email protected]> | 2016-10-17 16:32:04 +1300 |
commit | 25dc4725d99ff1c2b244831a6d2d306c0f9c5c97 (patch) | |
tree | 927c3e6b7e2073ff7bbeca65040c4bebfc9ccb2b | |
parent | 4ec9d51462930586ea29d040dd68c3e5b8de1847 (diff) |
Bug 1325 - JoglPipeline.resetRenderingAttributes does not call
gl.glDisable(GL.GL_STENCIL_TEST);
call added
-rw-r--r-- | src/main/java/org/jogamp/java3d/JoglPipeline.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/jogamp/java3d/JoglPipeline.java b/src/main/java/org/jogamp/java3d/JoglPipeline.java index d6cf55b..32c2fdb 100644 --- a/src/main/java/org/jogamp/java3d/JoglPipeline.java +++ b/src/main/java/org/jogamp/java3d/JoglPipeline.java @@ -7068,6 +7068,8 @@ void swapBuffers(Canvas3D cv, Context ctx, Drawable drawable) { gl.glDepthFunc(GL.GL_LEQUAL); gl.glEnable(GL2.GL_COLOR_MATERIAL); gl.glDisable(GL.GL_COLOR_LOGIC_OP); + gl.glDisable(GL.GL_STENCIL_TEST); + } // native method for setting default texture |