mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-11 05:35:45 -04:00
change(MobileGlues/defaults): Change GLSL default to 128MB
Some users have reported increased performance when lowering it, weird but sure.
This commit is contained in:
parent
ea43e8ad84
commit
78f8c87ca5
@ -240,7 +240,7 @@ public class LauncherPreferences {
|
||||
if (DEFAULT_PREF.getBoolean("mg_renderer_multidrawCompute", false)) {
|
||||
MGConfigJson.put("multidrawMode", 5); // Special handling for the (special mayhaps) compute emulation
|
||||
} else MGConfigJson.put("multidrawMode", Integer.parseInt(DEFAULT_PREF.getString("mg_renderer_setting_multidraw", "0")));
|
||||
MGConfigJson.put("maxGlslCacheSize", Integer.parseInt(DEFAULT_PREF.getString("mg_renderer_setting_glsl_cache_size", "2048")));
|
||||
MGConfigJson.put("maxGlslCacheSize", Integer.parseInt(DEFAULT_PREF.getString("mg_renderer_setting_glsl_cache_size", "128")));
|
||||
File configFile = new File(Tools.DIR_DATA + "/MobileGlues", "config.json");
|
||||
FileUtils.ensureParentDirectory(configFile);
|
||||
try {
|
||||
|
@ -9,7 +9,7 @@
|
||||
android:title="@string/mg_renderer_glsl_cache"
|
||||
android:key="mg_renderer_setting_glsl_cache_size"
|
||||
android:inputType="number"
|
||||
android:defaultValue="2048" />
|
||||
android:defaultValue="128" />
|
||||
<androidx.preference.ListPreference
|
||||
android:title="@string/mg_renderer_angle"
|
||||
android:key="mg_renderer_setting_angle"
|
||||
|
Loading…
x
Reference in New Issue
Block a user