diff options
author | Phil Jordan <[email protected]> | 2016-10-17 16:32:04 +1300 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2016-10-30 13:08:17 -0700 |
commit | c8b66c5d08030522a12f0b4a8dc98a2ad6a0e646 (patch) | |
tree | 608d2f166e85786df9a55e4d2cb376230146b867 | |
parent | c3c13d7fd456dac2d6e5da1ae392d246a961986b (diff) |
j3dcore: JoglPipeline.resetRenderingAttributes does not call gl.glDisable(GL.GL_STENCIL_TEST);
Fixes Bug 1325: https://jogamp.org/bugzilla/show_bug.cgi?id=1325
Signed-off-by: Phil Jordan <[email protected]>
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r-- | src/javax/media/j3d/JoglPipeline.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/javax/media/j3d/JoglPipeline.java b/src/javax/media/j3d/JoglPipeline.java index 269512b..c45fd61 100644 --- a/src/javax/media/j3d/JoglPipeline.java +++ b/src/javax/media/j3d/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 |