From 9edf5dc21e131d68c22d28e1e6f47913fdbe34b8 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Tue, 25 Mar 2014 02:20:01 +0000 Subject: [PATCH] - fix leftover merge conflict git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/3.0final@11113 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/lwjgl/com/jme3/renderer/lwjgl/LwjglRenderer.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/engine/src/lwjgl/com/jme3/renderer/lwjgl/LwjglRenderer.java b/engine/src/lwjgl/com/jme3/renderer/lwjgl/LwjglRenderer.java index f4a748320..b19753a90 100644 --- a/engine/src/lwjgl/com/jme3/renderer/lwjgl/LwjglRenderer.java +++ b/engine/src/lwjgl/com/jme3/renderer/lwjgl/LwjglRenderer.java @@ -492,20 +492,12 @@ public class LwjglRenderer implements Renderer { if (state.isAlphaTest() && !context.alphaTestEnabled) { glEnable(GL_ALPHA_TEST); -<<<<<<< .working - glAlphaFunc(GL_GREATER, state.getAlphaFallOff()); - context.alphaTestFallOff = state.getAlphaFallOff(); - } else if (!state.isAlphaTest() && context.alphaTestFallOff != 0) { -======= glAlphaFunc(convertTestFunction(context.alphaFunc), context.alphaTestFallOff); context.alphaTestEnabled = true; } else if (!state.isAlphaTest() && context.alphaTestEnabled) { ->>>>>>> .merge-right.r10938 glDisable(GL_ALPHA_TEST); context.alphaTestEnabled = false; } -<<<<<<< .working -======= if (state.getAlphaFallOff() != context.alphaTestFallOff) { glAlphaFunc(convertTestFunction(context.alphaFunc), context.alphaTestFallOff); context.alphaTestFallOff = state.getAlphaFallOff(); @@ -514,7 +506,6 @@ public class LwjglRenderer implements Renderer { glAlphaFunc(convertTestFunction(state.getAlphaFunc()), context.alphaTestFallOff); context.alphaFunc = state.getAlphaFunc(); } ->>>>>>> .merge-right.r10938 if (state.isDepthWrite() && !context.depthWriteEnabled) { glDepthMask(true);