(target, w, h, internalFormat, format, type, param)
| 1106 | } |
| 1107 | |
| 1108 | function resizeFBO (target, w, h, internalFormat, format, type, param) { |
| 1109 | let newFBO = createFBO(w, h, internalFormat, format, type, param); |
| 1110 | copyProgram.bind(); |
| 1111 | gl.uniform1i(copyProgram.uniforms.uTexture, target.attach(0)); |
| 1112 | blit(newFBO); |
| 1113 | return newFBO; |
| 1114 | } |
| 1115 | |
| 1116 | function resizeDoubleFBO (target, w, h, internalFormat, format, type, param) { |
| 1117 | if (target.width == w && target.height == h) |
no test coverage detected