try-catch block for glBlendEquation handles any exception

This commit is contained in:
codeanticode
2012-06-22 16:30:54 +00:00
parent 4571c14256
commit c9980a27c2
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}