Skip to content

Commit feca93c

Browse files
committed
Use non-deprecated version of FBObject.reset()
1 parent 12336a4 commit feca93c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/processing/opengl/PJOGL.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ public void display(GLAutoDrawable glDrawable) {
834834
if (frontFBO == null) {
835835
// init
836836
frontFBO = new FBObject();
837-
frontFBO.reset(gl, pg.width, pg.height);
837+
frontFBO.reset(gl, pg.width, pg.height, numSamples);
838838
frontFBO.attachTexture2D(gl, 0, true);
839839
sinkFBO = backFBO.getSamplingSinkFBO();
840840
changedFrontTex = changedBackTex = true;

0 commit comments

Comments
 (0)