Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
OpenGL blending - removed unused functions
  • Loading branch information
JakubValtar committed Nov 1, 2014
commit 9f55d3349fc6dee2910ce7a61939c78b24ad5107
2 changes: 0 additions & 2 deletions core/src/processing/opengl/PGraphicsOpenGL.java
Original file line number Diff line number Diff line change
Expand Up @@ -6033,15 +6033,13 @@ protected void blendModeImpl() {
} 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");
}

} 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");
}
Expand Down