Attempt to allocate a 8-bit stencil buffer when creating Minecraft's display context. If that throws an error it will revert back to it's default values.

Also contains a method for modders to rereive how many bits the context was created with. Closes #552
This commit is contained in:
LexManos committed 2013-05-08 17:13:19 -07:00
1 parent 2b7cd66f9a
commit ec755e09d0
3 files changed
+45 -10

No files matched your search

@@ -56,4 +56,9 @@ public class MinecraftForgeClient
{
return ForgeHooksClient.renderPass;
}
public int getStencilBits()
{
return ForgeHooksClient.stencilBits;
}
}