From e8ca4943ab881af5c3eeeeaff91c3e6b7dfaddf4 Mon Sep 17 00:00:00 2001 From: codeanticode Date: Tue, 11 Nov 2014 15:24:50 -0500 Subject: [PATCH] Use non-deprecated version of FBObject.reset() --- core/src/processing/opengl/PJOGL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/processing/opengl/PJOGL.java b/core/src/processing/opengl/PJOGL.java index 324431a43..7e2c4e730 100644 --- a/core/src/processing/opengl/PJOGL.java +++ b/core/src/processing/opengl/PJOGL.java @@ -834,7 +834,7 @@ public class PJOGL extends PGL { if (frontFBO == null) { // init frontFBO = new FBObject(); - frontFBO.reset(gl, pg.width, pg.height); + frontFBO.reset(gl, pg.width, pg.height, numSamples); frontFBO.attachTexture2D(gl, 0, true); sinkFBO = backFBO.getSamplingSinkFBO(); changedFrontTex = changedBackTex = true;