Merge pull request #5583 from gohai/gles-fixes

OpenGL ES: Fix GLSL version number for 1.00 (#5582)
This commit is contained in:
Ben Fry
2018-07-23 18:42:09 -04:00
committed by GitHub

View File

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