diff --git a/core/src/processing/opengl/PSurfaceJOGL.java b/core/src/processing/opengl/PSurfaceJOGL.java index 0764d2ff2..cecfd0d0e 100644 --- a/core/src/processing/opengl/PSurfaceJOGL.java +++ b/core/src/processing/opengl/PSurfaceJOGL.java @@ -195,15 +195,9 @@ public class PSurfaceJOGL implements PSurface { if (profile == null) { if (PJOGL.profile == 2) { try { - if ("arm".equals(System.getProperty("os.arch"))) { - // request at least GL2 or GLES2 - profile = GLProfile.getGL2ES2(); - } else { - // stay compatible with previous versions for now - profile = GLProfile.getGL2ES1(); - } + profile = GLProfile.getGL2ES2(); } catch (GLException ex) { - profile = GLProfile.getMaxFixedFunc(true); + profile = GLProfile.getMaxProgrammable(true); } } else if (PJOGL.profile == 3) { try {