diff --git a/core/src/processing/opengl/PJOGL.java b/core/src/processing/opengl/PJOGL.java index 99d591f28..c164c23b1 100644 --- a/core/src/processing/opengl/PJOGL.java +++ b/core/src/processing/opengl/PJOGL.java @@ -513,7 +513,8 @@ public class PJOGL extends PGL { @Override protected String getGLSLVersionSuffix() { - if (context.isGLESProfile()) { + VersionNumber vn = context.getGLSLVersionNumber(); + if (context.isGLESProfile() && 1 < vn.getMajor()) { return " es"; } else { return "";