Add a system property for the stencil, in case config is not available..

This commit is contained in:
cpw committed 2014-07-09 10:59:33 -04:00
1 parent 01d0e6a481
commit 27d5dc0a25
1 file changed
+1 -1
@@ -319,7 +319,7 @@ public class ForgeHooksClient
{
ImageIO.setUseCache(false); //Disable on-disc stream cache should speed up texture pack reloading.
PixelFormat format = new PixelFormat().withDepthBits(24);
if (!ForgeModContainer.enableStencilBits)
if (!ForgeModContainer.enableStencilBits || Boolean.parseBoolean(System.getProperty("forge.forceNoStencil", "false")))
{
Display.create(format);
stencilBits = 0;