Remove noisy Image loaded console log from image constructor.
Texture wraps are created frequently for canvas atlases; logging each one spammed the console without aiding debugging.
@@ -26,8 +26,6 @@ class image
26
26
// Keep the Image out of the DOM — canvas can draw from it directly.
27
27
if (image && image.style)
28
28
{ image.style.display = "none"; }
29
30
console.log("Image loaded: " + (image && image.src ? image.src : ""));
31
29
}
32
30
33
31
draw (scene, dx, dy, dw, dh, rotation, mirrorX, mirrorY, alpha, subImage, shader, uniforms, textures, lights)
@@ -26,8 +26,6 @@ class image26
// Keep the Image out of the DOM — canvas can draw from it directly.
26
// Keep the Image out of the DOM — canvas can draw from it directly.
27
if (image && image.style)
27
if (image && image.style)
28
{ image.style.display = "none"; }
28
{ image.style.display = "none"; }
29
30
console.log("Image loaded: " + (image && image.src ? image.src : ""));
31
}
29
}
32
30
33
draw (scene, dx, dy, dw, dh, rotation, mirrorX, mirrorY, alpha, subImage, shader, uniforms, textures, lights)
31
draw (scene, dx, dy, dw, dh, rotation, mirrorX, mirrorY, alpha, subImage, shader, uniforms, textures, lights)