From 2de4067933905f0d7fb450fcd5ccafd26a60f26f Mon Sep 17 00:00:00 2001 From: Jakub Valtar Date: Sat, 1 Nov 2014 18:08:03 +0100 Subject: [PATCH] OpenGL blending - removed unused functions --- core/src/processing/opengl/PGraphicsOpenGL.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/src/processing/opengl/PGraphicsOpenGL.java b/core/src/processing/opengl/PGraphicsOpenGL.java index bd4609c29..7e25eacd4 100644 --- a/core/src/processing/opengl/PGraphicsOpenGL.java +++ b/core/src/processing/opengl/PGraphicsOpenGL.java @@ -6033,7 +6033,6 @@ public class PGraphicsOpenGL extends PGraphics { } else if (blendMode == LIGHTEST) { if (blendEqSupported) { pgl.blendEquation(PGL.FUNC_MAX); - pgl.blendFunc(PGL.SRC_ALPHA, PGL.DST_ALPHA); } else { PGraphics.showWarning(BLEND_DRIVER_ERROR, "LIGHTEST"); } @@ -6041,7 +6040,6 @@ public class PGraphicsOpenGL extends PGraphics { } else if (blendMode == DARKEST) { if (blendEqSupported) { pgl.blendEquation(PGL.FUNC_MIN); - pgl.blendFunc(PGL.SRC_ALPHA, PGL.DST_ALPHA); } else { PGraphics.showWarning(BLEND_DRIVER_ERROR, "DARKEST"); }