(obj)
| 34935 | }; |
| 34936 | |
| 34937 | function isWebGLObject(obj) { |
| 34938 | //return false; |
| 34939 | return (obj instanceof WebGLBuffer || |
| 34940 | obj instanceof WebGLFramebuffer || |
| 34941 | obj instanceof WebGLProgram || |
| 34942 | obj instanceof WebGLRenderbuffer || |
| 34943 | obj instanceof WebGLShader || |
| 34944 | obj instanceof WebGLTexture); |
| 34945 | } |
| 34946 | |
| 34947 | function checkResources(args) { |
| 34948 | for (var ii = 0; ii < args.length; ++ii) { |