stopped using WeakMap<WebGLTexture,*> for FF. fixes https://github.com/gre/gl-react/issues/89

This commit is contained in:
Gaëtan Renaudeau 2017-03-14 21:54:30 +01:00
parent c0d3291cbb
commit a7c4e0dd46

View File

@ -750,7 +750,7 @@ export default class Node extends Component {
providedUniforms.push(k);
}
}
const textureUnits: WeakMap<WebGLTexture, number> = new WeakMap();
const textureUnits: Map<WebGLTexture, number> = new Map();
const prepareTexture = (
initialObj: mixed,