diff --git a/src/core/renderers/webgl/TextureManager.js b/src/core/renderers/webgl/TextureManager.js index bf594a0..b685c1a 100644 --- a/src/core/renderers/webgl/TextureManager.js +++ b/src/core/renderers/webgl/TextureManager.js @@ -83,7 +83,7 @@ // if the location is undefined then this may have been called by n event. // this being the case the texture may already be bound to a slot. As a texture can only be bound once // we need to find its current location if it exists. - if (location == null) + if (location === undefined) { location = 0;