Skip to content

Commit 11800e6

Browse files
committed
Merge branch 'fixups' of github.com:riccardobl/jmonkeyengine into fixups
2 parents b24f806 + 4f26497 commit 11800e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglWindow.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ private void configureOpenGLDriverHints(AppSettings settings) {
456456
final boolean angleGles = AppSettings.ANGLE_GLES3.equals(settings.getRenderer());
457457
if (!angleGles) {
458458
resetAngleLibraries();
459-
if (org.lwjgl.system.Platform.get() == org.lwjgl.system.Platform.LINUX) {
459+
if (org.lwjgl.system.Platform.get() == org.lwjgl.system.Platform.LINUX && !settings.isX11PlatformPreferred()) {
460460
SDL_SetHint(SDL_HINT_VIDEO_FORCE_EGL, "1");
461461
} else {
462462
SDL_ResetHint(SDL_HINT_VIDEO_FORCE_EGL);

0 commit comments

Comments
 (0)