1 parent af8c19e commit 2cc61c7Copy full SHA for 2cc61c7
1 file changed
src/main/java/org/jogamp/java3d/Jogl2es2Pipeline.java
@@ -3379,7 +3379,7 @@ else if (OUTPUT_PER_FRAME_STATS)
3379
if (!MINIMISE_NATIVE_CALLS_FFP || (shaderProgramId != ctx.prevShaderProgram
3380
|| ctx.gl_state.alphaTestFunction != ctx.renderingData.alphaTestFunction))
3381
{
3382
- gl.glUniform1i(locs.alphaTestFunction, getFunctionValue(ctx.renderingData.alphaTestFunction));
+ gl.glUniform1i(locs.alphaTestFunction, ctx.renderingData.alphaTestFunction);
3383
if (MINIMISE_NATIVE_CALLS_FFP)
3384
ctx.gl_state.alphaTestFunction = ctx.renderingData.alphaTestFunction;
3385
}
0 commit comments