diff --git a/core/src/processing/opengl/PJOGL.java b/core/src/processing/opengl/PJOGL.java index 37899199d..99d591f28 100644 --- a/core/src/processing/opengl/PJOGL.java +++ b/core/src/processing/opengl/PJOGL.java @@ -503,12 +503,15 @@ public class PJOGL extends PGL { return ((Font) font).deriveFont(size); } + @Override protected int getGLSLVersion() { VersionNumber vn = context.getGLSLVersionNumber(); return vn.getMajor() * 100 + vn.getMinor(); } + + @Override protected String getGLSLVersionSuffix() { if (context.isGLESProfile()) { return " es";