Use non-deprecated version of FBObject.reset()

This commit is contained in:
codeanticode
2014-11-11 15:24:50 -05:00
parent e2dda69876
commit e8ca4943ab

View File

@@ -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;