Browse Source

update|put()

wil 2 months ago
parent
commit
84b8a9c7bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jme3-core/src/main/java/com/jme3/system/AppSettings.java

+ 1 - 1
jme3-core/src/main/java/com/jme3/system/AppSettings.java

@@ -1518,7 +1518,7 @@ public final class AppSettings extends HashMap<String, Object> {
      * @param preferred true to prefer GLX (native X11) for the GL context, false to prefer EGL (native Wayland).
      */
     public void setX11PlatformPreferred(boolean preferred) {
-        put("X11PlatformPreferred", preferred);
+        putBoolean("X11PlatformPreferred", preferred);
     }
     
     /**