fix for g.smooth not being set by opengl

This commit is contained in:
benfry
2005-10-31 22:29:21 +00:00
parent 4df5716384
commit 1bf51d7704
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -1593,6 +1593,7 @@ public class PGraphicsGL extends PGraphics3 {
gl.glEnable(GL.GL_POINT_SMOOTH);
gl.glEnable(GL.GL_LINE_SMOOTH);
gl.glEnable(GL.GL_POLYGON_SMOOTH);
smooth = true;
}
@@ -1600,6 +1601,7 @@ public class PGraphicsGL extends PGraphics3 {
gl.glDisable(GL.GL_POINT_SMOOTH);
gl.glDisable(GL.GL_LINE_SMOOTH);
gl.glDisable(GL.GL_POLYGON_SMOOTH);
smooth = false;
}