From b0e913f250ce80dc59d1513fad70d30f464fa5be Mon Sep 17 00:00:00 2001 From: Pavel Dobryakov Date: Sun, 23 Dec 2018 19:45:37 +0300 Subject: [PATCH] cleaning --- script.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/script.js b/script.js index df87d64..b6d4117 100644 --- a/script.js +++ b/script.js @@ -598,11 +598,7 @@ function createFBO (texId, w, h, internalFormat, format, type, param) { return { texture, fbo, - texId, - internalFormat, - format, - type, - param + texId }; } @@ -621,12 +617,6 @@ function createDoubleFBO (texId, w, h, internalFormat, format, type, param) { let temp = fbo1; fbo1 = fbo2; fbo2 = temp; - }, - set read (value) { - fbo1 = value; - }, - set write (value) { - fbo2 = value; } } }