From f9741dd1e26afa638129b39f586ef3146fcd4dce Mon Sep 17 00:00:00 2001 From: codeanticode Date: Sun, 2 Jun 2013 03:33:03 -0400 Subject: [PATCH] renamed front tex flag --- core/src/processing/opengl/PGL.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/processing/opengl/PGL.java b/core/src/processing/opengl/PGL.java index 90ff4703e..81ba123cd 100644 --- a/core/src/processing/opengl/PGL.java +++ b/core/src/processing/opengl/PGL.java @@ -870,9 +870,9 @@ public class PGL { } - protected boolean needSepFrontBackTex = false; + protected boolean needSepFrontTex = false; protected void syncBackTexture() { - if (usingFrontTex) needSepFrontBackTex = true; + if (usingFrontTex) needSepFrontTex = true; if (USE_JOGL_FBOLAYER) { if (0 < capabilities.getNumSamples()) { backFBO.syncSamplingSink(gl); @@ -2592,7 +2592,7 @@ public class PGL { if (fboDrawable != null) { backFBO = fboDrawable.getFBObject(GL.GL_BACK); if (0 < capabilities.getNumSamples()) { - if (needSepFrontBackTex) { + if (needSepFrontTex) { // When using multisampled FBO, the back buffer is the MSAA // surface so it cannot be read from. The sink buffer contains // the readable 2D texture.