Jump to content

why can i load images in safari and not chrome? 


renegadecitizen
 Share

Recommended Posts

this is my main.js http://take.ms/Xr8S2
and this is my index.html http://take.ms/nNTHM
why can i load images in safari and not chrome? 
what am i doing wrong? the syntax looks correct, is it a setting in chrome?
chrome has this error in the console 
Uncaught SecurityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': The cross-origin image at file:///Users/robmccrady/Desktop/Test%20Projects/JavaScript/Farm%20Animal/assets/images/background.png may not be loaded.

im using phasor 2.4.6

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...