aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Jordan <[email protected]>2016-10-17 16:32:04 +1300
committerHarvey Harrison <[email protected]>2016-10-30 13:08:17 -0700
commitc8b66c5d08030522a12f0b4a8dc98a2ad6a0e646 (patch)
tree608d2f166e85786df9a55e4d2cb376230146b867
parentc3c13d7fd456dac2d6e5da1ae392d246a961986b (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.java2
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