Merge pull request #325 from jlmwas/fixgl

Explicitly save GL_SCISSOR_TEST to workaround driver bugs
This commit is contained in:
Claire 2013-06-15 03:49:00 -07:00
commit 2557bada7c

View file

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