mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
Use non-deprecated version of FBObject.reset()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user