Disable by default the Display Stencil bits. Keep FBO bits. Acording to Mumfery and ChickenBones, it should not be nessasary and should solve the 1/4 main menu issue. Use -Dforge.forceDisplayStencil=true to enable old behavior.

This commit is contained in:
Lex Manos committed 2014-10-06 15:12:12 -07:00
1 parent 6da8a19094
commit 676ecab52e
2 files changed
+5 -9

No files matched your search

@@ -66,7 +66,6 @@ public class ForgeModContainer extends DummyModContainer implements WorldAccessC
public static float zombieBabyChance = 0.05f;
public static boolean shouldSortRecipies = true;
public static boolean disableVersionCheck = false;
public static boolean enableStencilBits = true;
public static int defaultSpawnFuzz = 20;
private static Configuration config;
@@ -218,12 +217,6 @@ public class ForgeModContainer extends DummyModContainer implements WorldAccessC
zombieBabyChance = (float) prop.getDouble(0.05);
propOrder.add(prop.getName());
prop = config.get(Configuration.CATEGORY_GENERAL, "enableStencilBits", true);
prop.comment = "Set to false to attempt to allocate 8 stencil bits when starting the GL display context.";
prop.setLanguageKey("forge.configgui.stencilbits").setRequiresWorldRestart(true);
enableStencilBits = prop.getBoolean(true);
propOrder.add(prop.getName());
prop = config.get(Configuration.CATEGORY_GENERAL, "defaultSpawnFuzz", 20,
"The spawn fuzz when a player respawns in the world, this is controlable by WorldType, this config option is for the default overworld.",
1, Integer.MAX_VALUE);