Update BaseTexture.js

Updated Chrome bug link
This commit is contained in:
ddsol 2013-06-15 18:32:52 -03:00
parent 85a0d67895
commit a45b672d41

View file

@ -114,8 +114,8 @@ PIXI.BaseTexture.fromImage = function(imageUrl, crossorigin)
var baseTexture = PIXI.BaseTextureCache[imageUrl];
if(!baseTexture)
{
// new Image() breaks tex loading in Chrome.
// See https://code.google.com/p/chromium/issues/detail?id=115668
// new Image() breaks tex loading in some versions of Chrome.
// See https://code.google.com/p/chromium/issues/detail?id=238071
var image = document.createElement('img');
if (crossorigin)
{