Fix linux issue on desktop runtime
This commit is contained in:
parent
660214e781
commit
59fde5b457
|
@ -7,6 +7,9 @@
|
||||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||||
<listEntry value="1"/>
|
<listEntry value="1"/>
|
||||||
</listAttribute>
|
</listAttribute>
|
||||||
|
<mapAttribute key="org.eclipse.debug.core.environmentVariables">
|
||||||
|
<mapEntry key="LD_LIBRARY_PATH" value="${project_loc}/../"/>
|
||||||
|
</mapAttribute>
|
||||||
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
|
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
|
||||||
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
|
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
|
||||||
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
|
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
|
||||||
|
|
|
@ -336,8 +336,7 @@ public class PlatformRuntime {
|
||||||
|
|
||||||
private static boolean probablyGLES2(String glVersion) {
|
private static boolean probablyGLES2(String glVersion) {
|
||||||
if(glVersion == null) return false;
|
if(glVersion == null) return false;
|
||||||
glVersion = glVersion.toLowerCase();
|
return glVersion.toLowerCase().contains("opengl es 2.0") || glVersion.contains("ES 2.0");
|
||||||
return glVersion.contains("opengl es 2.0") || glVersion.contains("ES 2.0");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static EnumPlatformType getPlatformType() {
|
public static EnumPlatformType getPlatformType() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user