mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 10:00:42 +01:00
Merge pull request #5583 from gohai/gles-fixes
OpenGL ES: Fix GLSL version number for 1.00 (#5582)
This commit is contained in:
@@ -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 "";
|
||||
|
||||
Reference in New Issue
Block a user