diff --git a/core/todo.txt b/core/todo.txt index 9a201d7e0..95c305985 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -10,6 +10,8 @@ X because can be used for opening files too X (i.e. if needing a File object) X width, height set to zero in static mode X probably only set when resize() is called, and it's not happening +X g.smooth is always false in opengl +X http://dev.processing.org/bugs/show_bug.cgi?id=192 _ when using PGraphics, must call beginFrame() and endFrame() _ also need to be able to turn off MemoryImageSource on endFrame diff --git a/opengl/PGraphicsGL.java b/opengl/PGraphicsGL.java index e49d93c82..0bcf4bee6 100644 --- a/opengl/PGraphicsGL.java +++ b/opengl/PGraphicsGL.java @@ -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; }