mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Add a system property for the stencil, in case config is not available..
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user