Browse Source

update|put()

wil 2 tháng trước cách đây
mục cha
commit
84b8a9c7bb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
     }
     
     /**