Merge pull request #325 from jlmwas/fixgl
Explicitly save GL_SCISSOR_TEST to workaround driver bugs
This commit is contained in:
commit
2557bada7c
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ public abstract class MuseRenderer {
|
|||
|
||||
public static void scissorsOn(double x, double y, double w, double h) {
|
||||
// GL11.glPushAttrib(GL11.GL_VIEWPORT_BIT);
|
||||
GL11.glPushAttrib(GL11.GL_ENABLE_BIT);
|
||||
GL11.glPushAttrib(GL11.GL_ENABLE_BIT | GL11.GL_SCISSOR_BIT);
|
||||
GL11.glPushMatrix();
|
||||
Minecraft mc = Minecraft.getMinecraft();
|
||||
|
||||
|
|
Loading…
Reference in a new issue