diff --git a/core/src/processing/opengl/PSurfaceJOGL.java b/core/src/processing/opengl/PSurfaceJOGL.java index 89135ddb6..1f72a94b3 100644 --- a/core/src/processing/opengl/PSurfaceJOGL.java +++ b/core/src/processing/opengl/PSurfaceJOGL.java @@ -195,7 +195,13 @@ public class PSurfaceJOGL implements PSurface { if (profile == null) { if (PJOGL.profile == 2) { try { - profile = GLProfile.getGL2ES1(); + 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(); + } } catch (GLException ex) { profile = GLProfile.getMaxFixedFunc(true); }