From a396c86d7347dc9a2c53ea5c6fee7e0af6bd9c4f Mon Sep 17 00:00:00 2001 From: codeanticode Date: Wed, 5 Dec 2012 23:09:05 +0000 Subject: [PATCH] minor name changes to make it same as PGL on Android --- core/src/processing/opengl/PGL.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/processing/opengl/PGL.java b/core/src/processing/opengl/PGL.java index 96c9d9634..09d4ee806 100644 --- a/core/src/processing/opengl/PGL.java +++ b/core/src/processing/opengl/PGL.java @@ -778,14 +778,14 @@ public class PGL { // Frame rendering - protected void beginDraw(boolean clear) { + protected void beginDraw(boolean clear0) { } - protected void endDraw(boolean clear0) { - if (!clear0 && isFBOBacked() && !isMultisampled()) { + protected void endDraw(boolean clear) { + if (!clear && isFBOBacked() && !isMultisampled()) { // Draw the back texture into the front texture, which will be used as - // front texture in the next frame. Otherwise flickering will occur if + // back texture in the next frame. Otherwise flickering will occur if // the sketch uses "incremental drawing" (background() not called). frontFBO.bind(gl); gl.glDisable(GL.GL_BLEND);