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;