Jump to content

PIXI beginTextureFill issue


cDecheva
 Share

Recommended Posts

It means you have to pass an object :) We've changed API a bit.

You can see the IF here:

https://github.com/pixijs/pixi.js/blob/9ed7127bac9e696852a187e5403f313474f81365/packages/graphics/src/Graphics.ts#L709

beginTextureFill({ texture: myTexture });

Btw, now it works with canvas2d if you take dev version (https pixijs.download/dev/pixi-legacy.js), I made it a week ago or so: https://github.com/pixijs/pixi.js/pull/6367

Edited by ivan.popelyshev
Link to comment
Share on other sites

16 minutes ago, cDecheva said:

Thanks for the answer. I fixed it and with the version from dev works for both Canvas and WebGL.

I still have one warning :

image.thumb.png.1c915e52e7c83d631af78d9ac7f96072.png

How can I fix it?

Use not-minified js file, place a breakpoint in a deprecation, figure out where is it called from, post an issue or Pull Request in https://github.com/pixijs/pixi.js

Link to comment
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...
 Share

  • Recently Browsing   0 members

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