minor name changes to make it same as PGL on Android

This commit is contained in:
codeanticode
2012-12-05 23:09:05 +00:00
parent 5c64f3f178
commit a396c86d73

View File

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