mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-06-28 10:58:15 -05:00
Fix linux issue on desktop runtime
This commit is contained in:
@ -336,8 +336,7 @@ public class PlatformRuntime {
|
||||
|
||||
private static boolean probablyGLES2(String glVersion) {
|
||||
if(glVersion == null) return false;
|
||||
glVersion = glVersion.toLowerCase();
|
||||
return glVersion.contains("opengl es 2.0") || glVersion.contains("ES 2.0");
|
||||
return glVersion.toLowerCase().contains("opengl es 2.0") || glVersion.contains("ES 2.0");
|
||||
}
|
||||
|
||||
public static EnumPlatformType getPlatformType() {
|
||||
|
Reference in New Issue
Block a user