From 95090ae7e04f58552d0cd7fb9736bcff8641f378 Mon Sep 17 00:00:00 2001 From: codeanticode Date: Fri, 20 Jan 2012 00:00:16 +0000 Subject: [PATCH] Fixed setting for additive blending in PGL --- java/libraries/opengl/src/processing/opengl/PGL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/libraries/opengl/src/processing/opengl/PGL.java b/java/libraries/opengl/src/processing/opengl/PGL.java index ad096e002..1de9b0908 100644 --- a/java/libraries/opengl/src/processing/opengl/PGL.java +++ b/java/libraries/opengl/src/processing/opengl/PGL.java @@ -1067,7 +1067,7 @@ public class PGL { } public void setAdditiveBlend() { - gl.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA); + gl.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE);; } public void setSubstractiveBlend() {