mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
try-catch block for glBlendEquation handles any exception
This commit is contained in:
@@ -5438,7 +5438,7 @@ public class PGraphicsOpenGL extends PGraphics {
|
||||
try {
|
||||
pgl.glBlendEquation(PGL.GL_FUNC_ADD);
|
||||
blendEqSupported = true;
|
||||
} catch (UnsupportedOperationException e) {
|
||||
} catch (Exception e) {
|
||||
blendEqSupported = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user