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

This commit is contained in:
cpw 2014-07-09 10:59:33 -04:00
parent 01d0e6a481
commit 27d5dc0a25
1 changed files with 1 additions and 1 deletions

View File

@ -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;