mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-25 06:24:43 +00:00
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:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user