Sign in to follow this  
LuPI

Failed to execute ‘drawImage’ on ‘CanvasRenderingContext2D’

Recommended Posts

Hello.
I get links to Facebook avatars of friends. I load this using game.load.image()
Then I check if the image is in the cache. And if so, then I show the image on the screen.
This works in 99% of cases. But sometimes an error appears:

Failed to execute ‘drawImage’ on ‘CanvasRenderingContext2D’

What could be the reason?
Links to friend avatars always look the same.

Thanks.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.