mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 05:39:18 +01:00
OpenGL blending - removed unused functions
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user